{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 指数标的\n",
    "\n",
    "- 作者：DGC'Idea\n",
    "- 版本：V0.3   \n",
    "- 更新日期：2018年2月4日\n",
    "\n",
    "----------\n",
    "\n",
    "- 指数范围：沪深规模指数、行业指数、主题指数，恒生指数、恒生国企指数；\n",
    "- 指数成立10年以上的，只用最近十年的数据(港股十五年)，指数成立不满三年的，剔除；\n",
    "- 采用等权PE指标，根据PE的分位点给出指数的量化估值状态；\n",
    "- 采用指数PE的统计值（最小、最大、中位数等）及指数的波动率、股息率、回报率作为辅助进行量化估值；\n",
    "- 使用上证指数、深成指数、中证流通、中证全指作为辅助对全市场进行量化估值。"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "数据引擎：运行于研究\n",
      "指数框架：运行于研究\n"
     ]
    }
   ],
   "source": [
    "#导入库\n",
    "import numpy as np\n",
    "import pandas as pd\n",
    "\n",
    "#引入自定义库\n",
    "import sys\n",
    "sys.path.append('/home/jquser')\n",
    "from pf_idx import Index\n",
    "\n",
    "# index=Index('idx_data','../Data/')\n",
    "index=Index('csv','../Data/')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 1.指数标的"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "scrolled": false
   },
   "outputs": [],
   "source": [
    "\n",
    "\n",
    "#沪深指数列表\n",
    "index_pool=[\n",
    "    #'code','name','market','type','watch','fund'\n",
    "    #A股大盘指数\n",
    "    ['000902',u'全市场','sh','qsc',True,None],\n",
    "    ['399106',u'深证综指','sz','qsc',True,None], \n",
    "    ['000001',u'上证综指','sh','qsc',False,None],\n",
    "    ['000985',u'中证全指','sh','qsc',False,None],\n",
    "    ['399101',u'中小板综','sz','qsc',False,None],\n",
    "    ['399102',u'创业板综','sz','qsc',False,None],\n",
    "    #A股规模指数\n",
    "    ['000016',u'上证50','sh','kj',True,None],\n",
    "    ['000010',u'上证180','sh','kj',True,None],\n",
    "    ['000300',u'沪深300','sh','kj',True,None],\n",
    "    ['000905',u'中证500','sh','kj',True,None], \n",
    "    ['000852',u'中证1000','sh','kj',True,None],   \n",
    "    ['399330',u'深证100','sz','kj',True,None],     \n",
    "    ['399006',u'创业板指','sz','kj',True,None],\n",
    "    ['399005',u'中小板指','sz','kj',True,None],  \n",
    "    ['000009',u'上证380','sh','kj',False,None],\n",
    "    ['000903',u'中证100','sh','kj',False,None],\n",
    "    ['000904',u'中证200','sh','kj',False,None],\n",
    "    ['000906',u'中证800','sh','kj',False,None], \n",
    "    ['399001',u'深证成指','sz','kj',False,None],\n",
    "    ['399673',u'创业板50','sz','kj',False,None],\n",
    "    #A股窄基指数\n",
    "    ['000991',u'全指医药','sh','zj',True,None],\n",
    "    ['000992',u'全指金融','sh','zj',True,None],\n",
    "    ['000990',u'全指消费','sh','zj',True,None],\n",
    "    ['000993',u'全指信息','sh','zj',True,None], \n",
    "    ['000807',u'食品饮料','sh','zj',True,None],\n",
    "    ['000922',u'中证红利','sh','zj',True,None],\n",
    "    ['399812',u'中证养老','sz','zj',True,None],\n",
    "    ['399967',u'中证军工','sz','zj',True,None],\n",
    "    ['000827',u'中证环保','sh','zj',True,None], \n",
    "    ['399971',u'中证传媒','sz','zj',True,None],\n",
    "    ['000989',u'全指可选','sh','zj',False,None],\n",
    "    ['000988',u'全指工业','sh','zj',False,None],\n",
    "    ['000986',u'全指能源','sh','zj',False,None],  \n",
    "    ['000931',u'中证可选','sh','zj',False,None],       \n",
    "    ['000015',u'红利指数','sh','zj',False,None],\n",
    "    ['000068',u'上证资源','sh','zj',False,None],    \n",
    "    ['000998',u'中证TMT','sh','zj',False,None],\n",
    "    ['000978',u'医药100','sh','zj',False,None],\n",
    "    ['399989',u'中证医疗','sz','zj',False,None],\n",
    "    ['399986',u'中证银行','sz','zj',False,None],\n",
    "    ['399814',u'中证大农业','sz','zj',False,None],\n",
    "    ['399975',u'全指证券','sz','zj',True,None],       \n",
    "    ['399324',u'深证红利','sz','zj',False,None],   \n",
    "    ['399976',u'新能源汽车','sz','zj',False,None],\n",
    "    ['399808',u'中证新能源','sz','zj',False,None],\n",
    "    ['399806',u'环境治理','sz','zj',False,None],\n",
    "    ['000925',u'基本面50','sh','zj',False,None],\n",
    "    ['399550',u'央视50','sz','zj',False,None],\n",
    "    ['000977',u'内地低碳','sh','zj',False,None],\n",
    "    ['000841',u'800医药','sh','zj',False,None],\n",
    "    ['399624',u'中创400','sz','zj',False,None],\n",
    "    ['399811',u'申万电子','sz','zj',False,None],\n",
    "    ['399396',u'国证食品','sz','zj',False,None],\n",
    "    ['000932',u'中证消费','sh','zj',True,None],\n",
    "    ['399997',u'中证白酒','sz','zj',False,None],\n",
    "    # 港股指数   \n",
    "    ['HSI',u'恒生指数','hk','',True,None],\n",
    "    ['HSCEI',u'恒生国企','hk','',True,None],\n",
    "    # 美股指数      \n",
    "    ['SPX',u'标普500','us','',True,None],\n",
    "    ['DJIA',u'道琼斯','us','',False,None],    \n",
    "    ['NDAQ',u'纳斯达克','us','',False,None],  \n",
    "    # 欧洲 \n",
    "    ['GDAXI',u'德国DAX30','eu','',False,None],      \n",
    "    ['FTSE',u'英国富时100','eu','',False,None],  \n",
    "    ['FCHI',u'法国CAC40','eu','',False,None],  \n",
    "    ['SX5E',u'欧洲斯托克50','eu','',False,None],  \n",
    "    # 亚洲\n",
    "    ['N225',u'日经225','as','',False,None],  \n",
    "    # 其它\n",
    "#     ['VIX',u'VIX波动率','qt','',False,None], \n",
    "#     ['BDI',u'波罗的海干散货','qt','',False,None],\n",
    "#     ['C10Y',u'中国10年期国债','yp','',False,None],\n",
    "]\n",
    "\n",
    "\n",
    "\n",
    "#保存指数标的\n",
    "\n",
    "index.pool.create(index_pool)\n",
    "\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>名称</th>\n",
       "      <th>market</th>\n",
       "      <th>type</th>\n",
       "      <th>watch</th>\n",
       "      <th>fund</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>000902.SH</th>\n",
       "      <td>全市场</td>\n",
       "      <td>sh</td>\n",
       "      <td>qsc</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399106.SZ</th>\n",
       "      <td>深证综指</td>\n",
       "      <td>sz</td>\n",
       "      <td>qsc</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000001.SH</th>\n",
       "      <td>上证综指</td>\n",
       "      <td>sh</td>\n",
       "      <td>qsc</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000985.SH</th>\n",
       "      <td>中证全指</td>\n",
       "      <td>sh</td>\n",
       "      <td>qsc</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399101.SZ</th>\n",
       "      <td>中小板综</td>\n",
       "      <td>sz</td>\n",
       "      <td>qsc</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399102.SZ</th>\n",
       "      <td>创业板综</td>\n",
       "      <td>sz</td>\n",
       "      <td>qsc</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000016.SH</th>\n",
       "      <td>上证50</td>\n",
       "      <td>sh</td>\n",
       "      <td>kj</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000010.SH</th>\n",
       "      <td>上证180</td>\n",
       "      <td>sh</td>\n",
       "      <td>kj</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000300.SH</th>\n",
       "      <td>沪深300</td>\n",
       "      <td>sh</td>\n",
       "      <td>kj</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000905.SH</th>\n",
       "      <td>中证500</td>\n",
       "      <td>sh</td>\n",
       "      <td>kj</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000852.SH</th>\n",
       "      <td>中证1000</td>\n",
       "      <td>sh</td>\n",
       "      <td>kj</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399330.SZ</th>\n",
       "      <td>深证100</td>\n",
       "      <td>sz</td>\n",
       "      <td>kj</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399006.SZ</th>\n",
       "      <td>创业板指</td>\n",
       "      <td>sz</td>\n",
       "      <td>kj</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399005.SZ</th>\n",
       "      <td>中小板指</td>\n",
       "      <td>sz</td>\n",
       "      <td>kj</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000009.SH</th>\n",
       "      <td>上证380</td>\n",
       "      <td>sh</td>\n",
       "      <td>kj</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000903.SH</th>\n",
       "      <td>中证100</td>\n",
       "      <td>sh</td>\n",
       "      <td>kj</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000904.SH</th>\n",
       "      <td>中证200</td>\n",
       "      <td>sh</td>\n",
       "      <td>kj</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000906.SH</th>\n",
       "      <td>中证800</td>\n",
       "      <td>sh</td>\n",
       "      <td>kj</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399001.SZ</th>\n",
       "      <td>深证成指</td>\n",
       "      <td>sz</td>\n",
       "      <td>kj</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399673.SZ</th>\n",
       "      <td>创业板50</td>\n",
       "      <td>sz</td>\n",
       "      <td>kj</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000991.SH</th>\n",
       "      <td>全指医药</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000992.SH</th>\n",
       "      <td>全指金融</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000990.SH</th>\n",
       "      <td>全指消费</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000993.SH</th>\n",
       "      <td>全指信息</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000807.SH</th>\n",
       "      <td>食品饮料</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000922.SH</th>\n",
       "      <td>中证红利</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399812.SZ</th>\n",
       "      <td>中证养老</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399967.SZ</th>\n",
       "      <td>中证军工</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000827.SH</th>\n",
       "      <td>中证环保</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399971.SZ</th>\n",
       "      <td>中证传媒</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000068.SH</th>\n",
       "      <td>上证资源</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000998.SH</th>\n",
       "      <td>中证TMT</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000978.SH</th>\n",
       "      <td>医药100</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399989.SZ</th>\n",
       "      <td>中证医疗</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399986.SZ</th>\n",
       "      <td>中证银行</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399814.SZ</th>\n",
       "      <td>中证大农业</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399975.SZ</th>\n",
       "      <td>全指证券</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399324.SZ</th>\n",
       "      <td>深证红利</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399976.SZ</th>\n",
       "      <td>新能源汽车</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399808.SZ</th>\n",
       "      <td>中证新能源</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399806.SZ</th>\n",
       "      <td>环境治理</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000925.SH</th>\n",
       "      <td>基本面50</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399550.SZ</th>\n",
       "      <td>央视50</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000977.SH</th>\n",
       "      <td>内地低碳</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000841.SH</th>\n",
       "      <td>800医药</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399624.SZ</th>\n",
       "      <td>中创400</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399811.SZ</th>\n",
       "      <td>申万电子</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399396.SZ</th>\n",
       "      <td>国证食品</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000932.SH</th>\n",
       "      <td>中证消费</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399997.SZ</th>\n",
       "      <td>中证白酒</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>HSI</th>\n",
       "      <td>恒生指数</td>\n",
       "      <td>hk</td>\n",
       "      <td>NaN</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>HSCEI</th>\n",
       "      <td>恒生国企</td>\n",
       "      <td>hk</td>\n",
       "      <td>NaN</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>SPX</th>\n",
       "      <td>标普500</td>\n",
       "      <td>us</td>\n",
       "      <td>NaN</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>DJIA</th>\n",
       "      <td>道琼斯</td>\n",
       "      <td>us</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>NDAQ</th>\n",
       "      <td>纳斯达克</td>\n",
       "      <td>us</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>GDAXI</th>\n",
       "      <td>德国DAX30</td>\n",
       "      <td>eu</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>FTSE</th>\n",
       "      <td>英国富时100</td>\n",
       "      <td>eu</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>FCHI</th>\n",
       "      <td>法国CAC40</td>\n",
       "      <td>eu</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>SX5E</th>\n",
       "      <td>欧洲斯托克50</td>\n",
       "      <td>eu</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>N225</th>\n",
       "      <td>日经225</td>\n",
       "      <td>as</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>65 rows × 5 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                名称 market type  watch  fund\n",
       "000902.SH      全市场     sh  qsc   True   NaN\n",
       "399106.SZ     深证综指     sz  qsc   True   NaN\n",
       "000001.SH     上证综指     sh  qsc  False   NaN\n",
       "000985.SH     中证全指     sh  qsc  False   NaN\n",
       "399101.SZ     中小板综     sz  qsc  False   NaN\n",
       "399102.SZ     创业板综     sz  qsc  False   NaN\n",
       "000016.SH     上证50     sh   kj   True   NaN\n",
       "000010.SH    上证180     sh   kj   True   NaN\n",
       "000300.SH    沪深300     sh   kj   True   NaN\n",
       "000905.SH    中证500     sh   kj   True   NaN\n",
       "000852.SH   中证1000     sh   kj   True   NaN\n",
       "399330.SZ    深证100     sz   kj   True   NaN\n",
       "399006.SZ     创业板指     sz   kj   True   NaN\n",
       "399005.SZ     中小板指     sz   kj   True   NaN\n",
       "000009.SH    上证380     sh   kj  False   NaN\n",
       "000903.SH    中证100     sh   kj  False   NaN\n",
       "000904.SH    中证200     sh   kj  False   NaN\n",
       "000906.SH    中证800     sh   kj  False   NaN\n",
       "399001.SZ     深证成指     sz   kj  False   NaN\n",
       "399673.SZ    创业板50     sz   kj  False   NaN\n",
       "000991.SH     全指医药     sh   zj   True   NaN\n",
       "000992.SH     全指金融     sh   zj   True   NaN\n",
       "000990.SH     全指消费     sh   zj   True   NaN\n",
       "000993.SH     全指信息     sh   zj   True   NaN\n",
       "000807.SH     食品饮料     sh   zj   True   NaN\n",
       "000922.SH     中证红利     sh   zj   True   NaN\n",
       "399812.SZ     中证养老     sz   zj   True   NaN\n",
       "399967.SZ     中证军工     sz   zj   True   NaN\n",
       "000827.SH     中证环保     sh   zj   True   NaN\n",
       "399971.SZ     中证传媒     sz   zj   True   NaN\n",
       "...            ...    ...  ...    ...   ...\n",
       "000068.SH     上证资源     sh   zj  False   NaN\n",
       "000998.SH    中证TMT     sh   zj  False   NaN\n",
       "000978.SH    医药100     sh   zj  False   NaN\n",
       "399989.SZ     中证医疗     sz   zj  False   NaN\n",
       "399986.SZ     中证银行     sz   zj  False   NaN\n",
       "399814.SZ    中证大农业     sz   zj  False   NaN\n",
       "399975.SZ     全指证券     sz   zj   True   NaN\n",
       "399324.SZ     深证红利     sz   zj  False   NaN\n",
       "399976.SZ    新能源汽车     sz   zj  False   NaN\n",
       "399808.SZ    中证新能源     sz   zj  False   NaN\n",
       "399806.SZ     环境治理     sz   zj  False   NaN\n",
       "000925.SH    基本面50     sh   zj  False   NaN\n",
       "399550.SZ     央视50     sz   zj  False   NaN\n",
       "000977.SH     内地低碳     sh   zj  False   NaN\n",
       "000841.SH    800医药     sh   zj  False   NaN\n",
       "399624.SZ    中创400     sz   zj  False   NaN\n",
       "399811.SZ     申万电子     sz   zj  False   NaN\n",
       "399396.SZ     国证食品     sz   zj  False   NaN\n",
       "000932.SH     中证消费     sh   zj   True   NaN\n",
       "399997.SZ     中证白酒     sz   zj  False   NaN\n",
       "HSI           恒生指数     hk  NaN   True   NaN\n",
       "HSCEI         恒生国企     hk  NaN   True   NaN\n",
       "SPX          标普500     us  NaN   True   NaN\n",
       "DJIA           道琼斯     us  NaN  False   NaN\n",
       "NDAQ          纳斯达克     us  NaN  False   NaN\n",
       "GDAXI      德国DAX30     eu  NaN  False   NaN\n",
       "FTSE       英国富时100     eu  NaN  False   NaN\n",
       "FCHI       法国CAC40     eu  NaN  False   NaN\n",
       "SX5E       欧洲斯托克50     eu  NaN  False   NaN\n",
       "N225         日经225     as  NaN  False   NaN\n",
       "\n",
       "[65 rows x 5 columns]"
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "index.pool.show()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "#沪深指数列表\n",
    "index_pool={\n",
    "    #A股大盘指数\n",
    "    '000902':{'name':u'全市场','market':'sh','type':'qsc','use':True,'fund':[None]},\n",
    "    '399106':{'name':u'深证综指','market':'sz','type':'qsc','use':True,'fund':[None]}, \n",
    "    '000001':{'name':u'上证综指','market':'sh','type':'qsc','use':False,'fund':[None]},\n",
    "    '000985':{'name':u'中证全指','market':'sh','type':'qsc','use':False,'fund':[None]},\n",
    "    '399101':{'name':u'中小板综','market':'sz','type':'qsc','use':False,'fund':[None]},\n",
    "    '399102':{'name':u'创业板综','market':'sz','type':'qsc','use':False,'fund':[None]},\n",
    "    #A股规模指数\n",
    "    '000016':{'name':u'上证50','market':'sh','type':'kj','use':True,'fund':[None]},\n",
    "    '000010':{'name':u'上证180','market':'sh','type':'kj','use':True,'fund':[None]},\n",
    "    '000300':{'name':u'沪深300','market':'sh','type':'kj','use':True,'fund':[None]},\n",
    "    '000905':{'name':u'中证500','market':'sh','type':'kj','use':True,'fund':[None]}, \n",
    "    '000852':{'name':u'中证1000','market':'sh','type':'kj','use':True,'fund':[None]},   \n",
    "    '399330':{'name':u'深证100','market':'sz','type':'kj','use':True,'fund':[None]},     \n",
    "    '399006':{'name':u'创业板指','market':'sz','type':'kj','use':True,'fund':[None]},\n",
    "    '399005':{'name':u'中小板指','market':'sz','type':'kj','use':True,'fund':[None]},  \n",
    "    '000009':{'name':u'上证380','market':'sh','type':'kj','use':False,'fund':[None]},\n",
    "    '000903':{'name':u'中证100','market':'sh','type':'kj','use':False,'fund':[None]},\n",
    "    '000904':{'name':u'中证200','market':'sh','type':'kj','use':False,'fund':[None]},\n",
    "    '000906':{'name':u'中证800','market':'sh','type':'kj','use':False,'fund':[None]}, \n",
    "    '399001':{'name':u'深证成指','market':'sz','type':'kj','use':False,'fund':[None]},\n",
    "    '399673':{'name':u'创业板50','market':'sz','type':'kj','use':False,'fund':[None]},\n",
    "    #A股窄基指数\n",
    "    '000991':{'name':u'全指医药','market':'sh','type':'zj','use':True,'fund':[None]},\n",
    "    '000992':{'name':u'全指金融','market':'sh','type':'zj','use':True,'fund':[None]},\n",
    "    '000990':{'name':u'全指消费','market':'sh','type':'zj','use':True,'fund':[None]},\n",
    "    '000993':{'name':u'全指信息','market':'sh','type':'zj','use':True,'fund':[None]}, \n",
    "    '000807':{'name':u'食品饮料','market':'sh','type':'zj','use':True,'fund':[None]},\n",
    "    '000922':{'name':u'中证红利','market':'sh','type':'zj','use':True,'fund':[None]},\n",
    "    '399812':{'name':u'中证养老','market':'sz','type':'zj','use':True,'fund':[None]},\n",
    "    '399967':{'name':u'中证军工','market':'sz','type':'zj','use':True,'fund':[None]},\n",
    "    '000827':{'name':u'中证环保','market':'sh','type':'zj','use':True,'fund':[None]}, \n",
    "    '399971':{'name':u'中证传媒','market':'sz','type':'zj','use':True,'fund':[None]},\n",
    "    '000989':{'name':u'全指可选','market':'sh','type':'zj','use':False,'fund':[None]},\n",
    "    '000988':{'name':u'全指工业','market':'sh','type':'zj','use':False,'fund':[None]},\n",
    "    '000986':{'name':u'全指能源','market':'sh','type':'zj','use':False,'fund':[None]},  \n",
    "    '000931':{'name':u'中证可选','market':'sh','type':'zj','use':False,'fund':[None]},       \n",
    "    '000015':{'name':u'红利指数','market':'sh','type':'zj','use':False,'fund':[None]},\n",
    "    '000068':{'name':u'上证资源','market':'sh','type':'zj','use':False,'fund':[None]},    \n",
    "    '000998':{'name':u'中证TMT','market':'sh','type':'zj','use':False,'fund':[None]},\n",
    "    '000978':{'name':u'医药100','market':'sh','type':'zj','use':False,'fund':[None]},\n",
    "    '399989':{'name':u'中证医疗','market':'sz','type':'zj','use':False,'fund':[None]},\n",
    "    '399986':{'name':u'中证银行','market':'sz','type':'zj','use':False,'fund':[None]},\n",
    "    '399814':{'name':u'中证大农业','market':'sz','type':'zj','use':False,'fund':[None]},\n",
    "    '399975':{'name':u'全指证券','market':'sz','type':'zj','use':False,'fund':[None]},       \n",
    "    '399324':{'name':u'深证红利','market':'sz','type':'zj','use':False,'fund':[None]},   \n",
    "    '399976':{'name':u'新能源汽车','market':'sz','type':'zj','use':False,'fund':[None]},\n",
    "    '399808':{'name':u'中证新能源','market':'sz','type':'zj','use':False,'fund':[None]},\n",
    "    '399806':{'name':u'环境治理','market':'sz','type':'zj','use':False,'fund':[None]},\n",
    "    '000925':{'name':u'基本面50','market':'sh','type':'zj','use':False,'fund':[None]},\n",
    "    '399550':{'name':u'央视50','market':'sz','type':'zj','use':False,'fund':[None]},\n",
    "    '000977':{'name':u'内地低碳','market':'sh','type':'zj','use':False,'fund':[None]},\n",
    "    '000841':{'name':u'800医药','market':'sh','type':'zj','use':False,'fund':[None]},\n",
    "    '399624':{'name':u'中创400','market':'sz','type':'zj','use':False,'fund':[None]},\n",
    "    '399811':{'name':u'申万电子','market':'sz','type':'zj','use':False,'fund':[None]},\n",
    "    '399396':{'name':u'国证食品','market':'sz','type':'zj','use':False,'fund':[None]},\n",
    "    '000932':{'name':u'中证消费','market':'sh','type':'zj','use':False,'fund':[None]},\n",
    "    '399997':{'name':u'中证白酒','market':'sz','type':'zj','use':False,'fund':[None]},\n",
    "    #港股指数列表       \n",
    "    'hscei':{'name':u'恒生国企','market':'hk','type':'','use':True,'fund':[None]},\n",
    "    'hsi':{'name':u'恒生指数','market':'hk','type':'','use':True,'fund':[None]},\n",
    "    #美股指数列表       \n",
    "    'sp500':{'name':u'标普500','market':'us','type':'','use':True,'fund':[None]},\n",
    "    }\n",
    "\n",
    "\n",
    "\n",
    "#保存指数标的\n",
    "# save_index_pool(index_pool,'all')\n",
    "\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>name</th>\n",
       "      <th>market</th>\n",
       "      <th>type</th>\n",
       "      <th>watch</th>\n",
       "      <th>fund</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>000902.XSHG</th>\n",
       "      <td>全市场</td>\n",
       "      <td>sh</td>\n",
       "      <td>qsc</td>\n",
       "      <td>True</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000902.XSHG</th>\n",
       "      <td>全市场</td>\n",
       "      <td>sh</td>\n",
       "      <td>qsc</td>\n",
       "      <td>True</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399106.XSHE</th>\n",
       "      <td>深证综指</td>\n",
       "      <td>sz</td>\n",
       "      <td>qsc</td>\n",
       "      <td>True</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000001.XSHG</th>\n",
       "      <td>上证综指</td>\n",
       "      <td>sh</td>\n",
       "      <td>qsc</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000985.XSHG</th>\n",
       "      <td>中证全指</td>\n",
       "      <td>sh</td>\n",
       "      <td>qsc</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399101.XSHE</th>\n",
       "      <td>中小板综</td>\n",
       "      <td>sz</td>\n",
       "      <td>qsc</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399102.XSHE</th>\n",
       "      <td>创业板综</td>\n",
       "      <td>sz</td>\n",
       "      <td>qsc</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000016.XSHG</th>\n",
       "      <td>上证50</td>\n",
       "      <td>sh</td>\n",
       "      <td>kj</td>\n",
       "      <td>True</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000010.XSHG</th>\n",
       "      <td>上证180</td>\n",
       "      <td>sh</td>\n",
       "      <td>kj</td>\n",
       "      <td>True</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000300.XSHG</th>\n",
       "      <td>沪深300</td>\n",
       "      <td>sh</td>\n",
       "      <td>kj</td>\n",
       "      <td>True</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000905.XSHG</th>\n",
       "      <td>中证500</td>\n",
       "      <td>sh</td>\n",
       "      <td>kj</td>\n",
       "      <td>True</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000852.XSHG</th>\n",
       "      <td>中证1000</td>\n",
       "      <td>sh</td>\n",
       "      <td>kj</td>\n",
       "      <td>True</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399330.XSHE</th>\n",
       "      <td>深证100</td>\n",
       "      <td>sz</td>\n",
       "      <td>kj</td>\n",
       "      <td>True</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399006.XSHE</th>\n",
       "      <td>创业板指</td>\n",
       "      <td>sz</td>\n",
       "      <td>kj</td>\n",
       "      <td>True</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399005.XSHE</th>\n",
       "      <td>中小板指</td>\n",
       "      <td>sz</td>\n",
       "      <td>kj</td>\n",
       "      <td>True</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000009.XSHG</th>\n",
       "      <td>上证380</td>\n",
       "      <td>sh</td>\n",
       "      <td>kj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000903.XSHG</th>\n",
       "      <td>中证100</td>\n",
       "      <td>sh</td>\n",
       "      <td>kj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000904.XSHG</th>\n",
       "      <td>中证200</td>\n",
       "      <td>sh</td>\n",
       "      <td>kj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000906.XSHG</th>\n",
       "      <td>中证800</td>\n",
       "      <td>sh</td>\n",
       "      <td>kj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399001.XSHE</th>\n",
       "      <td>深证成指</td>\n",
       "      <td>sz</td>\n",
       "      <td>kj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399673.XSHE</th>\n",
       "      <td>创业板50</td>\n",
       "      <td>sz</td>\n",
       "      <td>kj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000991.XSHG</th>\n",
       "      <td>全指医药</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>True</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000992.XSHG</th>\n",
       "      <td>全指金融</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>True</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000990.XSHG</th>\n",
       "      <td>全指消费</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>True</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000993.XSHG</th>\n",
       "      <td>全指信息</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>True</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000807.XSHG</th>\n",
       "      <td>食品饮料</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>True</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000922.XSHG</th>\n",
       "      <td>中证红利</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>True</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399812.XSHE</th>\n",
       "      <td>中证养老</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>True</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399967.XSHE</th>\n",
       "      <td>中证军工</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>True</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000827.XSHG</th>\n",
       "      <td>中证环保</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>True</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399971.XSHE</th>\n",
       "      <td>中证传媒</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>True</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000989.XSHG</th>\n",
       "      <td>全指可选</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000988.XSHG</th>\n",
       "      <td>全指工业</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000986.XSHG</th>\n",
       "      <td>全指能源</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000931.XSHG</th>\n",
       "      <td>中证可选</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000015.XSHG</th>\n",
       "      <td>红利指数</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000068.XSHG</th>\n",
       "      <td>上证资源</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000998.XSHG</th>\n",
       "      <td>中证TMT</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000978.XSHG</th>\n",
       "      <td>医药100</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399989.XSHE</th>\n",
       "      <td>中证医疗</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399986.XSHE</th>\n",
       "      <td>中证银行</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399814.XSHE</th>\n",
       "      <td>中证大农业</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399975.XSHE</th>\n",
       "      <td>全指证券</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399324.XSHE</th>\n",
       "      <td>深证红利</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399976.XSHE</th>\n",
       "      <td>新能源汽车</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399808.XSHE</th>\n",
       "      <td>中证新能源</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399806.XSHE</th>\n",
       "      <td>环境治理</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000925.XSHG</th>\n",
       "      <td>基本面50</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399550.XSHE</th>\n",
       "      <td>央视50</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000977.XSHG</th>\n",
       "      <td>内地低碳</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000841.XSHG</th>\n",
       "      <td>800医药</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399624.XSHE</th>\n",
       "      <td>中创400</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399811.XSHE</th>\n",
       "      <td>申万电子</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399396.XSHE</th>\n",
       "      <td>国证食品</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>000932.XSHG</th>\n",
       "      <td>中证消费</td>\n",
       "      <td>sh</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>399997.XSHE</th>\n",
       "      <td>中证白酒</td>\n",
       "      <td>sz</td>\n",
       "      <td>zj</td>\n",
       "      <td>False</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>hscei</th>\n",
       "      <td>恒生国企</td>\n",
       "      <td>hk</td>\n",
       "      <td></td>\n",
       "      <td>True</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>hsi</th>\n",
       "      <td>恒生指数</td>\n",
       "      <td>hk</td>\n",
       "      <td></td>\n",
       "      <td>True</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>sp500</th>\n",
       "      <td>标普500</td>\n",
       "      <td>us</td>\n",
       "      <td></td>\n",
       "      <td>True</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "               name market type  watch  fund\n",
       "000902.XSHG     全市场     sh  qsc   True  None\n",
       "000902.XSHG     全市场     sh  qsc   True  None\n",
       "399106.XSHE    深证综指     sz  qsc   True  None\n",
       "000001.XSHG    上证综指     sh  qsc  False  None\n",
       "000985.XSHG    中证全指     sh  qsc  False  None\n",
       "399101.XSHE    中小板综     sz  qsc  False  None\n",
       "399102.XSHE    创业板综     sz  qsc  False  None\n",
       "000016.XSHG    上证50     sh   kj   True  None\n",
       "000010.XSHG   上证180     sh   kj   True  None\n",
       "000300.XSHG   沪深300     sh   kj   True  None\n",
       "000905.XSHG   中证500     sh   kj   True  None\n",
       "000852.XSHG  中证1000     sh   kj   True  None\n",
       "399330.XSHE   深证100     sz   kj   True  None\n",
       "399006.XSHE    创业板指     sz   kj   True  None\n",
       "399005.XSHE    中小板指     sz   kj   True  None\n",
       "000009.XSHG   上证380     sh   kj  False  None\n",
       "000903.XSHG   中证100     sh   kj  False  None\n",
       "000904.XSHG   中证200     sh   kj  False  None\n",
       "000906.XSHG   中证800     sh   kj  False  None\n",
       "399001.XSHE    深证成指     sz   kj  False  None\n",
       "399673.XSHE   创业板50     sz   kj  False  None\n",
       "000991.XSHG    全指医药     sh   zj   True  None\n",
       "000992.XSHG    全指金融     sh   zj   True  None\n",
       "000990.XSHG    全指消费     sh   zj   True  None\n",
       "000993.XSHG    全指信息     sh   zj   True  None\n",
       "000807.XSHG    食品饮料     sh   zj   True  None\n",
       "000922.XSHG    中证红利     sh   zj   True  None\n",
       "399812.XSHE    中证养老     sz   zj   True  None\n",
       "399967.XSHE    中证军工     sz   zj   True  None\n",
       "000827.XSHG    中证环保     sh   zj   True  None\n",
       "399971.XSHE    中证传媒     sz   zj   True  None\n",
       "000989.XSHG    全指可选     sh   zj  False  None\n",
       "000988.XSHG    全指工业     sh   zj  False  None\n",
       "000986.XSHG    全指能源     sh   zj  False  None\n",
       "000931.XSHG    中证可选     sh   zj  False  None\n",
       "000015.XSHG    红利指数     sh   zj  False  None\n",
       "000068.XSHG    上证资源     sh   zj  False  None\n",
       "000998.XSHG   中证TMT     sh   zj  False  None\n",
       "000978.XSHG   医药100     sh   zj  False  None\n",
       "399989.XSHE    中证医疗     sz   zj  False  None\n",
       "399986.XSHE    中证银行     sz   zj  False  None\n",
       "399814.XSHE   中证大农业     sz   zj  False  None\n",
       "399975.XSHE    全指证券     sz   zj  False  None\n",
       "399324.XSHE    深证红利     sz   zj  False  None\n",
       "399976.XSHE   新能源汽车     sz   zj  False  None\n",
       "399808.XSHE   中证新能源     sz   zj  False  None\n",
       "399806.XSHE    环境治理     sz   zj  False  None\n",
       "000925.XSHG   基本面50     sh   zj  False  None\n",
       "399550.XSHE    央视50     sz   zj  False  None\n",
       "000977.XSHG    内地低碳     sh   zj  False  None\n",
       "000841.XSHG   800医药     sh   zj  False  None\n",
       "399624.XSHE   中创400     sz   zj  False  None\n",
       "399811.XSHE    申万电子     sz   zj  False  None\n",
       "399396.XSHE    国证食品     sz   zj  False  None\n",
       "000932.XSHG    中证消费     sh   zj  False  None\n",
       "399997.XSHE    中证白酒     sz   zj  False  None\n",
       "hscei          恒生国企     hk        True  None\n",
       "hsi            恒生指数     hk        True  None\n",
       "sp500         标普500     us        True  None"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "index.codes.read('idx_pool')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [],
   "source": [
    "# Index.codes.hs"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 2.关联基金"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 2.1.基金列表"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "基金 标的不存在!\n"
     ]
    }
   ],
   "source": [
    "#引入自定义库\n",
    "import sys\n",
    "sys.path.append('/home/jquser')\n",
    "from pf_fnd import Fund\n",
    "\n",
    "fund=Fund('csv','../Data/','index')\n",
    "\n",
    "\n",
    "index_fund_list2={  \n",
    "    '100032':'000922',  # 富国中证红利 / 中证红利\n",
    "    '159901':'399330',  # 深100ETF / 深证100\n",
    "    '159902':'399005',  # 中小板 / 中小板指\n",
    "    '159903':'399001',  # 深成ETF / 深证成指\n",
    "    '159905':'399324',  # 深红利 / 深证红利\n",
    "    '159906':'399346',  # 深成长 / 深证成长\n",
    "    '159907':'399008',  # 中小300 / 中小300\n",
    "    '159908':'399703',  # 深F200 / 深证F200\n",
    "    '159909':'399610',  # 深TMT / TMT50\n",
    "    '159910':'399702',  # 深F120 / 深证F120\n",
    "    '159911':'399337',  # 民营ETF / 深证民营\n",
    "    '159912':'399007',  # 深300ETF / 深证300\n",
    "    '159913':'399348',  # 深价值 / 深证价值\n",
    "    '159915':'399006',  # 创业板 / 创业板指\n",
    "    '159916':'399701',  # 深F60 / 深证F60\n",
    "    '159918':'399624',  # 中创400 / 中创400\n",
    "    '159919':'000300',  # 300ETF / 沪深300\n",
    "    '159922':'000905',  # 500ETF / 中证500\n",
    "    '159923':'000903',  # 100ETF / 中证100\n",
    "    '159924':'000984',  # 300等权 / 300等权\n",
    "    '159925':'000300',  # 南方300 / 沪深300\n",
    "    '159928':'399932',  # 消费ETF / 中证消费\n",
    "    '159929':'399933',  # 医药ETF / 中证医药\n",
    "    '159930':'399928',  # 能源ETF / 中证能源\n",
    "    '159931':'399934',  # 金融ETF / 中证金融\n",
    "    '159932':'399802',  # 500深ETF / 500深市\n",
    "    '159933':'000914',  # 金地ETF / 300金融\n",
    "    '159935':'000905',  # 景顺500 / 中证500\n",
    "    '159936':'000989',  # 可选消费 / 全指可选\n",
    "    '159938':'000991',  # 广发医药 / 全指医药\n",
    "    '159939':'000993',  # 信息技术 / 全指信息\n",
    "    '159940':'000992',  # 全指金融 / 全指金融\n",
    "    '159942':'399612',  # 中创100 / 中创100\n",
    "    '159943':'399001',  # 深证ETF / 深证成指\n",
    "    '159944':'000987',  # 全指材料 / 全指材料\n",
    "    '159945':'000986',  # 全指能源 / 全指能源\n",
    "    '159946':'000990',  # 全指消费 / 全指消费\n",
    "    '159948':'399006',  # 创业板EF / 创业板指\n",
    "    '159949':'399673',  # 创业板50 / 创业板50\n",
    "    '159952':'399006',  # 创业ETF / 创业板指\n",
    "    '159953':'000988',  # 工业ETF / 全指工业\n",
    "    '159955':'399006',  # 创业板E / 创业板指\n",
    "    '159956':'399006',  # 创业板F / 创业板指\n",
    "    '159957':'399006',  # 创业板HX / 创业板指\n",
    "    '159958':'399006',  # 创业板ET / 创业板指\n",
    "    '510010':'000021',  # 治理ETF / 180治理\n",
    "    '510020':'000980',  # 超大ETF / 中证超大\n",
    "    '510030':'000029',  # 价值ETF / 180价值\n",
    "    '510050':'000016',  # 50ETF / 上证50\n",
    "    '510060':'000042',  # 央企ETF / 上证央企\n",
    "    '510070':'000049',  # 民企ETF / 上证民企\n",
    "    '510090':'000048',  # 责任ETF / 责任指数\n",
    "    '510110':'000063',  # 周期ETF / 上证周期\n",
    "    '510120':'000064',  # 非周ETF / 非周期\n",
    "    '510130':'000044',  # 中盘ETF / 上证中盘\n",
    "    '510150':'000069',  # 消费ETF / 消费80\n",
    "    '510160':'399901',  # 小康ETF / 小康指数\n",
    "    '510170':'000066',  # 商品ETF / 上证商品\n",
    "    '510180':'000010',  # 180ETF / 上证180\n",
    "    '510190':'000065',  # 龙头ETF / 上证龙头\n",
    "    '510210':'000001',  # 综指ETF / 上证指数\n",
    "    '510220':'000046',  # 中小ETF / 上证中小\n",
    "    '510230':'000018',  # 金融ETF / 180金融\n",
    "    '510260':'000067',  # 新兴ETF / 上证新兴\n",
    "    '510270':'000056',  # 国企ETF / 上证国企\n",
    "    '510280':'000028',  # 成长ETF / 180成长\n",
    "    '510290':'000009',  # 380ETF / 上证380\n",
    "    '510300':'000300',  # 300ETF / 沪深300\n",
    "    '510310':'000300',  # HS300ETF / 沪深300\n",
    "    '510330':'000300',  # 华夏300 / 沪深300\n",
    "    '510360':'000300',  # 广发300 / 沪深300\n",
    "    '510380':'000300',  # 国寿300 / 沪深300\n",
    "    '510390':'000300',  # 平安300 / 沪深300\n",
    "    '510410':'000068',  # 资源ETF / 上证资源\n",
    "    '510420':'000051',  # 180EWETF / 180等权\n",
    "    '510430':'000050',  # 50等权 / 50等权\n",
    "    '510440':'000802',  # 500沪市 / 500沪市\n",
    "    '510500':'000905',  # 500ETF / 中证500\n",
    "    '510510':'000905',  # 广发500 / 中证500\n",
    "    '510520':'000905',  # 诺安500 / 中证500\n",
    "    '510560':'000905',  # 国寿500 / 中证500\n",
    "    '510580':'000905',  # ZZ500ETF / 中证500\n",
    "    '510630':'000036',  # 消费行业 / 上证消费\n",
    "    '510650':'000038',  # 金融行业 / 上证金融\n",
    "    '510660':'000037',  # 医药行业 / 上证医药\n",
    "    '510680':'000016',  # 万家50 / 上证50\n",
    "    '510710':'000016',  # 上50ETF / 上证50\n",
    "    '510880':'000015',  # 红利ETF / 红利指数\n",
    "    '512000':'399975',  # 券商ETF / 证券公司\n",
    "    '512010':'000913',  # 医药ETF / 300医药\n",
    "    '512100':'000852',  # 1000ETF / 中证1000\n",
    "    '512120':'000814',  # 医药股基 / 细分医药\n",
    "    '512230':'000933',  # 景顺医药 / 中证医药\n",
    "    '512300':'000857',  # 500医药 / 500医药\n",
    "    '512310':'000856',  # 500工业 / 500工业\n",
    "    '512330':'000858',  # 500信息 / 500信息\n",
    "    '512340':'000854',  # 500原料 / 500原料\n",
    "    '512400':'000819',  # 有色金属 / 有色金属\n",
    "    '512500':'000905',  # 中证500 / 中证500\n",
    "    '512510':'000905',  # ETF500 / 中证500\n",
    "    '512580':'000827',  # 环保ETF / 中证环保\n",
    "    '512600':'000932',  # 主要消费 / 中证消费\n",
    "    '512610':'000933',  # 医药卫生 / 中证医药\n",
    "    '512640':'000934',  # 金融地产 / 中证金融\n",
    "    '512660':'399967',  # 军工ETF / 中证军工\n",
    "    '512680':'399967',  # 军工基金 / 中证军工\n",
    "    '512700':'399986',  # 银行基金 / 中证银行\n",
    "    '512800':'399986',  # 银行ETF / 中证银行\n",
    "    '512810':'399967',  # 军工行业 / 中证军工\n",
    "    '512880':'399975',  # 证券ETF / 证券公司\n",
    "    '512900':'399975',  # 证券基金 / 证券公司\n",
    "    '512980':'399971',  # 传媒ETF / 中证传媒\n",
    "    '160119':'399905',  # 南方500 / 中证 500\n",
    "    '160223':'399006',  # 创业板基 / 创业板指\n",
    "    '160225':'399417',  # 新汽车 / 新能源车\n",
    "    '160415':'399007',  # 华安S300 / 深证300\n",
    "    '160615':'000300',  # 鹏华300 / 沪深300\n",
    "    '160616':'399905',  # 鹏华500 / 中证 500\n",
    "    '160635':'399933',  # 医药基金 / 中证医药\n",
    "    '160706':'000300',  # 嘉实 300 / 沪深300\n",
    "    '160716':'399925',  # 嘉实50 / 基本面50\n",
    "    '160806':'000906',  # 长盛同庆 / 中证800\n",
    "    '160807':'000300',  # 长盛300 / 沪深300\n",
    "    '161017':'399905',  # 富国500 / 中证 500\n",
    "    '161213':'399963',  # 国投消费 / 中证下游\n",
    "    '161217':'399961',  # 国投资源 / 中证上游\n",
    "    '161227':'399330',  # 深证100 / 深证100\n",
    "    '161607':'399313',  # 融通巨潮 / 巨潮100\n",
    "    '161715':'399979',  # 大宗商品 / 大宗商品\n",
    "    '161907':'000922',  # 万家红利 / 中证红利\n",
    "    '162307':'399903',  # 海富100 / 中证100\n",
    "    '162510':'399101',  # 国安双力 / 中小板综\n",
    "    '162711':'399905',  # 广发500L / 中证 500\n",
    "    '163111':'399005',  # 申万中小 / 中小板指\n",
    "    '163407':'000300',  # 兴全300 / 沪深300\n",
    "    '163821':'399984',  # 中银300E / 300等权\n",
    "    '165309':'000300',  # 建信300 / 沪深300\n",
    "    '165525':'399995',  # 基建工程 / 基建工程\n",
    "    '165806':'399330',  # 东吴100 / 深证100\n",
    "    '166007':'000300',  # 中欧300 / 沪深300\n",
    "    '167901':'000300',  # 华宸300 / 沪深300\n",
    "    '501019':'399368',  # 军工基金 / 国证军工\n",
    "    '501020':'399974',  # 国企改 / 国企改革  \n",
    "    '501030':'399806',  # 环境治理 / 环境治理\n",
    "    '501031':'399806',  # 环境C / 环境治理\n",
    "    '150223':'399975',  # 证券A级 / 证券公司\n",
    "    '150188':'000832',  # 转债优先 / 标普转债\n",
    "    '150106':'399005',  # 中小A / 中小板指\n",
    "    '150321':'399998',  # 煤炭A基 / 中证煤炭\n",
    "    '150123':'399550',  # 建信50A / 央视50\n",
    "    '150221':'399959',  # 中航军A / 军工指数\n",
    "    '150022':'399001',  # 深成指A / 深证成指\n",
    "    '150331':'399805',  # 网金融A / 互联金融\n",
    "    '150323':'000827',  # 环保A端 / 中证环保\n",
    "    '502037':'399805',  # 网金A / 互联金融\n",
    "    '150190':'000827',  # NCF环保A / 中证环保\n",
    "    '150325':'399807',  # 高铁A端 / 高铁产业\n",
    "    '150343':'399975',  # 证券A基 / 证券公司\n",
    "    '150291':'399986',  # 银行A份 / 中证银行\n",
    "    '150196':'399395',  # 有色A / 国证有色\n",
    "    '150299':'399986',  # 银行股A / 中证银行\n",
    "    '150247':'399971',  # 传媒A级 / 中证传媒\n",
    "    '150303':'399673',  # 创业股A / 创业板50\n",
    "    '150287':'399440',  # 钢铁A / 国证钢铁\n",
    "    '150117':'399393',  # 房地产A / 国证地产\n",
    "    '150301':'399975',  # 证券股A / 证券公司\n",
    "    '150335':'399967',  # 军工股A / 中证军工\n",
    "    '150317':'399805',  # E金融A / 互联金融\n",
    "    '150293':'399807',  # 高铁A级 / 高铁产业\n",
    "    '150289':'399998',  # 煤炭A级 / 中证煤炭\n",
    "    '502057':'399989',  # 医疗A / 中证医疗\n",
    "    '502031':'399807',  # 高铁A / 高铁产业\n",
    "    '150261':'399989',  # 医疗A / 中证医疗\n",
    "    '150167':'000300',  # 银华300A / 沪深300\n",
    "    '150267':'399986',  # 银行A类 / 中证银行\n",
    "    '150263':'000852',  # 1000A / 中证1000\n",
    "    '150213':'399958',  # 成长A级 / 创业成长\n",
    "    '150295':'399974',  # 改革A / 国企改革\n",
    "    '150104':'000300',  # HS300A / 沪深300\n",
    "    '150090':'399958',  # 成长A / 创业成长\n",
    "    '502054':'399975',  # 券商A / 证券公司\n",
    "    '150211':'399976',  # 新能车A / CS新能车\n",
    "    '502014':'000853',  # 一带一A / CSSW丝路\n",
    "    '150130':'399394',  # 医药A / 国证医药\n",
    "    '150073':'399958',  # 诺安稳健 / 创业成长\n",
    "    '150152':'399006',  # 创业板A / 创业板指\n",
    "    '150145':'000828',  # 高贝塔A / 300高贝\n",
    "    '150053':'399905',  # 泰达500A / 中证 500\n",
    "    '150135':'399903',  # 国富100A / 中证100\n",
    "    '150138':'000842',  # 中证800A / 800等权\n",
    "    '150281':'399934',  # 金融地A / 中证金融\n",
    "    '502021':'000016',  # 国金50A / 上证50\n",
    "    '150036':'000300',  # 建信稳健 / 主动基金\n",
    "    '150265':'399991',  # 一带A / 一带一路\n",
    "    '502041':'000016',  # 上50A / 上证50\n",
    "    '502001':'399982',  # 500等权A / 500等权\n",
    "    '150150':'000823',  # 有色800A / 800有色\n",
    "    '150327':'399808',  # 新能A级 / 中证新能\n",
    "    '150094':'000966',  # 泰信400A / 基本400\n",
    "    '150012':'399903',  # 中证100A / 中证100\n",
    "    '150157':'000974',  # 金融A / 800金融\n",
    "    '150028':'399905',  # 中证500A / 中证 500\n",
    "    '150112':'399330',  # 深100A / 深证100P\n",
    "    '150049':'399942',  # 消费收益 / 主动基金\n",
    "    '150283':'000808',  # SW医药A / 医药生物\n",
    "    '502011':'399975',  # 证券A / 证券公司\n",
    "    '150227':'399986',  # 银行A / 中证银行\n",
    "    '150269':'399997',  # 白酒A / 中证白酒\n",
    "    '150329':'399809',  # 保险A / 保险主题\n",
    "    '502049':'000016',  # 上证50A / 上证50\n",
    "    '150233':'399810',  # 传媒业A / CSSW传媒\n",
    "    '150194':'399970',  # 互联网A / 移动互联\n",
    "    '150018':'399004',  # 银华稳进 / 深证100R\n",
    "    '150051':'000300',  # 沪深300A / 沪深300\n",
    "    '150255':'399986',  # 银行业A / 中证银行\n",
    "    '150257':'399993',  # 生物A / CSWD生科\n",
    "    '150171':'399707',  # 证券A / CSSW证券\n",
    "    '150277':'399807',  # 高铁A / 高铁产业\n",
    "    '150209':'399974',  # 国企改A / 国企改革\n",
    "    '150241':'399986',  # 银行A级 / 中证银行\n",
    "    '150200':'399975',  # 券商A / 证券公司\n",
    "    '150186':'399967',  # 军工A级 / 中证军工\n",
    "    '150121':'399918',  # 银河优先 / 300 成长\n",
    "    '150198':'399396',  # 食品A / 国证食品\n",
    "    '150225':'399966',  # 证保A级 / 800证保\n",
    "    '150305':'399812',  # 养老A / 养老产业\n",
    "    '150064':'399904',  # 同瑞A / 中证 200\n",
    "    '150055':'399905',  # 500A / 中证 500\n",
    "    '150083':'399330',  # 深证100A / 深证100P\n",
    "    '150307':'399804',  # 体育A / 中证体育\n",
    "    '150203':'399971',  # 传媒A / 中证传媒\n",
    "    '150205':'399973',  # 国防A / 中证国防\n",
    "    '150235':'399975',  # 券商A级 / 证券公司\n",
    "    '150243':'399006',  # 创业A / 创业板指\n",
    "    '502004':'399967',  # 军工A / 中证军工\n",
    "    '150032':'399923',  # 多利优先 / 债券总指\n",
    "    '150249':'399986',  # 银行A端 / 中证银行\n",
    "    '150271':'399441',  # 生物药A / 生物医药\n",
    "    '150173':'000998',  # TMT中证A / 中证TMT\n",
    "    '150181':'399967',  # 军工A / 中证军工\n",
    "    '150259':'399992',  # 重组A / CSWD并购\n",
    "    '150057':'399008',  # 中小300A / 中小300P\n",
    "    '150273':'399991',  # 带路A / 一带一路\n",
    "    '150311':'399996',  # 智能A / 智能家居\n",
    "    '150217':'399412',  # 新能源A / 国证新能\n",
    "    '502007':'399974',  # 国企改A / 国企改革\n",
    "    '150275':'399991',  # 一带一A / 一带一路\n",
    "    '150245':'399970',  # 互联A / 移动互联\n",
    "    '150177':'399966',  # 证保A / 800证保\n",
    "    '150030':'000971',  # 中证90A / 等权90\n",
    "    '150143':'000832',  # 转债A级 / 中证转债\n",
    "    '150100':'000805',  # 资源A / A股资源\n",
    "    '150076':'000300',  # 浙商稳健 / 沪深300\n",
    "    '150184':'000827',  # 环保A / 中证环保\n",
    "    '150092':'399007',  # 诺德300A / 深证300P\n",
    "    '150315':'399803',  # 工业4A / 工业4.0\n",
    "    '150164':'000832',  # 可转债A / 中证转债\n",
    "    '150179':'399935',  # 信息A / 中证信息\n",
    "    '502027':'399429',  # 新丝路A / 新丝路\n",
    "    '502017':'399991',  # 带路A / 一带一路\n",
    "    '150207':'399983',  # 地产A端 / 地产等权\n",
    "    '150237':'000827',  # 环保A级 / 中证环保\n",
    "    '502024':'399440',  # 钢铁A / 国证钢铁\n",
    "    '150309':'399994',  # 信息安A / 信息安全\n",
    "    '150148':'000841',  # 医药800A / 800医药\n",
    "    '150231':'399811',  # 电子A / CSSW电子\n",
    "    '150251':'399990',  # 煤炭A / 煤炭等权\n",
    "    '150279':'399808',  # 新能A / 中证新能\n",
    "    '150047':'399942',  # 消费A / 主动基金\n",
    "    '150229':'399987',  # 酒A / 中证酒\n",
    "    '150215':'399610',  # TMT A / TMT50\n",
    "    '150192':'399965',  # 地产A / 800地产\n",
    "    '150066':'399481',  # 互利A / 中证全债\n",
    "    '150059':'399944',  # 资源A级 / 内地资源\n",
    "    '150016':'000300',  # 合润A / 主动基金\n",
    "    '512070':'000849',      # 非银ETF / 300非银\n",
    "    '512560':'399967',      # 中证军工 / 中证军工\n",
    "    '161630':'399814',  # 中证大农业指数 / 融通农业\n",
    "    '501050':'000016',  # 上证50 / 50AH\n",
    "    \n",
    "    #分级基金母基金\n",
    "    '163109':'399106',  # 深证综指 / 申万菱信深证成指分级证券投资基金\n",
    "    '502048':'000016',  # 上证50 / 易方达上证50指数分级证券投资基金\n",
    "    '161022':'399006',  # 创业板指 / 富国创业板指数分级证券投资基金\n",
    "    '160637':'399006',  # 创业板指 / 鹏华创业板指数分级证券投资基金\n",
    "    '161118':'399005',  # 中小板指 / 易方达中小板指数分级证券投资基金\n",
    "    '160626':'000993',  # 全指信息 / 鹏华中证信息技术指数分级证券投资基金\n",
    "    '163115':'399967',  # 中证军工 / 申万菱信中证军工指数分级证券投资基金\n",
    "    '502056':'399989',  # 中证医疗指数 / 广发中证医疗指数分级证券投资基金\n",
    "    '162412':'399989',  # 中证医疗指数 / 华宝兴业中证医疗指数分级证券投资基金\n",
    "    '163114':'000827',  # 中证环保 / 申万菱信中证环保产业指数分级证券投资基金\n",
    "    '164304':'000827',  # 中证环保 / 新华中证环保产业指数分级证券投资基金\n",
    "    '160634':'000827',  # 中证环保 / 鹏华中证环保产业指数分级证券投资基金\n",
    "    '165522':'000998',  # 中证TMT / 信诚中证TMT产业主题指数分级证券投资基金\n",
    "    '160631':'399986',  # 中证银行指数 / 鹏华中证银行指数分级证券投资基金\n",
    "    '502010':'399975',  # 中证全指证券公司指数(四级行业) / 易方达证券公司指数分级证券投资基金\n",
    "    '161720':'399975',  # 中证全指证券公司指数(四级行业) / 招商中证全指证券公司指数分级证券投资基金\n",
    "    '161028':'399976',  # 中证新能源汽车指数 / 富国中证新能源汽车指数分级证券投资基金\n",
    "    '160640':'399808',  # 中证新能源指数 / 鹏华中证新能源指数分级证券投资基金\n",
    "    '160629':'399971',  # 中证传媒指数 / 鹏华中证传媒指数分级证券投资基金\n",
    "    '164818':'399971',  # 中证传媒指数 / 工银瑞信中证传媒指数分级证券投资基金\n",
    "    '165312':'399550',  # 央视50 / 建信央视财经50指数分级发起式证券投资基金\n",
    "    '163116':'399811',  # 中证申万电子行业投资指数 / 申万菱信中证申万电子行业投资指数分级证券投资基金   \n",
    "    }\n",
    "\n",
    "index_fund_fjm={\n",
    "    '163109':'399106',  # 深证综指 / 申万菱信深证成指分级证券投资基金\n",
    "    '502048':'000016',  # 上证50 / 易方达上证50指数分级证券投资基金\n",
    "    '161022':'399006',  # 创业板指 / 富国创业板指数分级证券投资基金\n",
    "    '160637':'399006',  # 创业板指 / 鹏华创业板指数分级证券投资基金\n",
    "    '161118':'399005',  # 中小板指 / 易方达中小板指数分级证券投资基金\n",
    "    '160626':'000993',  # 全指信息 / 鹏华中证信息技术指数分级证券投资基金\n",
    "    '163115':'399967',  # 中证军工 / 申万菱信中证军工指数分级证券投资基金\n",
    "    '502056':'399989',  # 中证医疗指数 / 广发中证医疗指数分级证券投资基金\n",
    "    '162412':'399989',  # 中证医疗指数 / 华宝兴业中证医疗指数分级证券投资基金\n",
    "    '163114':'000827',  # 中证环保 / 申万菱信中证环保产业指数分级证券投资基金\n",
    "    '164304':'000827',  # 中证环保 / 新华中证环保产业指数分级证券投资基金\n",
    "    '160634':'000827',  # 中证环保 / 鹏华中证环保产业指数分级证券投资基金\n",
    "    '165522':'000998',  # 中证TMT / 信诚中证TMT产业主题指数分级证券投资基金\n",
    "    '160631':'399986',  # 中证银行指数 / 鹏华中证银行指数分级证券投资基金\n",
    "    '502010':'399975',  # 中证全指证券公司指数(四级行业) / 易方达证券公司指数分级证券投资基金\n",
    "    '161720':'399975',  # 中证全指证券公司指数(四级行业) / 招商中证全指证券公司指数分级证券投资基金\n",
    "    '161028':'399976',  # 中证新能源汽车指数 / 富国中证新能源汽车指数分级证券投资基金\n",
    "    '160640':'399808',  # 中证新能源指数 / 鹏华中证新能源指数分级证券投资基金\n",
    "    '160629':'399971',  # 中证传媒指数 / 鹏华中证传媒指数分级证券投资基金\n",
    "    '164818':'399971',  # 中证传媒指数 / 工银瑞信中证传媒指数分级证券投资基金\n",
    "    '165312':'399550',  # 央视50 / 建信央视财经50指数分级发起式证券投资基金\n",
    "    '163116':'399811',  # 中证申万电子行业投资指数 / 申万菱信中证申万电子行业投资指数分级证券投资基金  \n",
    "    }\n",
    "\n",
    "index_fund_bad={\n",
    "    '159951':'399422',  # 中关村A / 中关村A    \n",
    "    \n",
    "    '150219':'H30344',  # 健康A / 健康产业\n",
    "    '150297':'H30535',  # 互联A级 / 互联网\n",
    "    \n",
    "    '501002':'930659',  # 能源互联 / CS能源互\n",
    "    '501005':'930719',  # 精准医疗 / CS精准医\n",
    "    '501007':'930720',  # 互联医疗 / CS互医疗\n",
    "    '501008':'930720',  # 互联医C / CS互医疗\n",
    "    '501009':'930743',  # 生物科技 / 中证生科\n",
    "    '501010':'930743',  # 生物科C / 中证生科\n",
    "    '501011':'930641',  # 中药基金 / 中证中药\n",
    "    '501012':'930641',  # 中药C / 中证中药\n",
    "    '501023':'930746',  # 港中小企 / 港中小企\n",
    "    '161631':'930713',  # 人工智能 / CS人工智\n",
    "    '161033':'930721',  # 智能汽车 / CS智汽车\n",
    "    '161035':'930791',  # 医药增强 / 中证医药\n",
    "    '163119':'930629',  # 申万健康 / CSSW健康 \n",
    "    \n",
    "    '510810':'-',       # 上海国企 / 上海国企\n",
    "    '511220':'-',      # 城投ETF / 沪质城投\n",
    "    '512200':'-',      # 房地产 / 房地产\n",
    "    '512210':'-',      # 景顺食品 / 中证800食品\n",
    "    '512220':'-',      # 景顺TMT / TMT150\n",
    "    '511260':'-',      # 十年国债 / 10年国债\n",
    "    '511010':'000140',  # 国债ETF / 5年国债\n",
    "    \n",
    "    '150169':'HSI',     # 恒生A / 恒生指数\n",
    "    '513600':'HSI',  # 恒指ETF / 恒生指数\n",
    "    '513660':'HSI',  # 恒生通 / 恒生指数\n",
    "    '159920':'HSI',  # 恒生ETF / 恒生指数\n",
    "    '159954':'HSCEI',  # H股ETF / 恒生国企\n",
    "    '510900':'HSCEI',   # H股ETF / 恒生国企\n",
    "    '150175':'HSCEI',   # H股A / 恒生国企\n",
    "    '161124':'HSHKSI',  # 香港小盘 / 恒生小型股\n",
    "    '160922':'HSMSI',  # 恒生中小 / 恒生中小型股\n",
    "    \n",
    "    '501029':'CSPSADRP',   # 红利基金 / 标普A股红利\n",
    "    '501021':'SPHCMSHP',   # 香港中小 / 香港中小\n",
    "}\n",
    "\n",
    "index_fund_list={ \n",
    "    #etf\n",
    "    '510170.XSHG':'000066.XSHG',    # etf    商品ETF    上证商品\n",
    "    '510660.XSHG':'000037.XSHG',    # etf    医药行业    上证医药\n",
    "    '512310.XSHG':'000856.XSHG',    # etf    500工业    500工业\n",
    "    '512000.XSHG':'399975.XSHE',    # etf    券商ETF    中证全指证券公司指数(四级行业)\n",
    "    '510270.XSHG':'000056.XSHG',    # etf    国企ETF    上证国企\n",
    "    '510330.XSHG':'000300.XSHG',    # etf    华夏300    沪深300\n",
    "    '510060.XSHG':'000042.XSHG',    # etf    央企ETF    上证央企\n",
    "    '512640.XSHG':'000934.XSHG',    # etf    金融地产    中证金融\n",
    "    '510560.XSHG':'000905.XSHG',    # etf    国寿500    中证500\n",
    "    '510360.XSHG':'000300.XSHG',    # etf    广发300    沪深300\n",
    "    '512980.XSHG':'399971.XSHE',    # etf    传媒ETF    中证传媒指数\n",
    "    '512010.XSHG':'000913.XSHG',    # etf    医药ETF    300医药\n",
    "    '510430.XSHG':'000050.XSHG',    # etf    50等权    50等权\n",
    "    '512580.XSHG':'000827.XSHG',    # etf    环保ETF    中证环保\n",
    "    '510070.XSHG':'000049.XSHG',    # etf    民企ETF    上证民企\n",
    "    '512900.XSHG':'399975.XSHE',    # etf    证券基金    中证全指证券公司指数(四级行业)\n",
    "    '512330.XSHG':'000858.XSHG',    # etf    500信息    500信息\n",
    "    '510300.XSHG':'000300.XSHG',    # etf    300ETF    沪深300\n",
    "    '159908.XSHE':'399703.XSHE',    # etf    深F200    深证F200\n",
    "    '159909.XSHE':'399610.XSHE',    # etf    深TMT    TMT50\n",
    "    '159906.XSHE':'399346.XSHE',    # etf    深成长    深证成长\n",
    "    '159907.XSHE':'399008.XSHE',    # etf    中小300    中小300\n",
    "    '510190.XSHG':'000065.XSHG',    # etf    龙头ETF    上证龙头\n",
    "    '159905.XSHE':'399324.XSHE',    # etf    深红利    深证红利\n",
    "    '159902.XSHE':'399005.XSHE',    # etf    中小板    中小板指\n",
    "    '159903.XSHE':'399001.XSHE',    # etf    深成ETF    深证成指\n",
    "    '159901.XSHE':'399330.XSHE',    # etf    深100ETF    深证100\n",
    "    '510680.XSHG':'000016.XSHG',    # etf    万家50    上证50\n",
    "    '512120.XSHG':'000814.XSHG',    # etf    医药股基    细分医药\n",
    "    '512700.XSHG':'399986.XSHE',    # etf    银行基金    中证银行指数\n",
    "    '510280.XSHG':'000028.XSHG',    # etf    成长ETF    180成长\n",
    "    '510160.XSHG':'399901.XSHE',    # etf    小康ETF    中证南方小康产业指数\n",
    "    '512230.XSHG':'000933.XSHG',    # etf    景顺医药    中证医药\n",
    "    '510220.XSHG':'000046.XSHG',    # etf    中小ETF    上证中小\n",
    "    '512600.XSHG':'000932.XSHG',    # etf    主要消费    中证消费\n",
    "    '510580.XSHG':'000905.XSHG',    # etf    ZZ500ETF    中证500\n",
    "    '510020.XSHG':'000980.XSHG',    # etf    超大ETF    中证超大\n",
    "    '512680.XSHG':'399967.XSHE',    # etf    军工基金    中证军工\n",
    "    '159919.XSHE':'000300.XSHG',    # etf    300ETF    沪深300\n",
    "    '159918.XSHE':'399624.XSHE',    # etf    中创400    中创400\n",
    "    '159915.XSHE':'399006.XSHE',    # etf    创业板    创业板指\n",
    "    '510180.XSHG':'000010.XSHG',    # etf    180ETF    上证180\n",
    "    '159916.XSHE':'399701.XSHE',    # etf    深F60    深证F60\n",
    "    '159911.XSHE':'399337.XSHE',    # etf    民营ETF    深证民营\n",
    "    '159910.XSHE':'399702.XSHE',    # etf    深F120    深证F120\n",
    "    '159913.XSHE':'399348.XSHE',    # etf    深价值    深证价值\n",
    "    '159912.XSHE':'399007.XSHE',    # etf    深300ETF    深证300\n",
    "    '512880.XSHG':'399975.XSHE',    # etf    证券ETF    中证全指证券公司指数(四级行业)\n",
    "    '510290.XSHG':'000009.XSHG',    # etf    380ETF    上证380\n",
    "    '510110.XSHG':'000063.XSHG',    # etf    周期ETF    上证周期\n",
    "    '512800.XSHG':'399986.XSHE',    # etf    银行ETF    中证银行指数\n",
    "    '510050.XSHG':'000016.XSHG',    # etf    50ETF    上证50\n",
    "    '510500.XSHG':'000905.XSHG',    # etf    500ETF    中证500\n",
    "    '510420.XSHG':'000051.XSHG',    # etf    180EWETF    180等权\n",
    "    '510230.XSHG':'000018.XSHG',    # etf    金融ETF    180金融\n",
    "    '512510.XSHG':'000905.XSHG',    # etf    ETF500    中证500\n",
    "    '510030.XSHG':'000029.XSHG',    # etf    价值ETF    180价值\n",
    "    '159928.XSHE':'399932.XSHE',    # etf    消费ETF    中证主要消费指数\n",
    "    '159929.XSHE':'399933.XSHE',    # etf    医药ETF    中证医药卫生指数\n",
    "    '510310.XSHG':'000300.XSHG',    # etf    HS300ETF    沪深300\n",
    "    '159922.XSHE':'000905.XSHG',    # etf    500ETF    中证500\n",
    "    '159923.XSHE':'000903.XSHG',    # etf    100ETF    中证100\n",
    "    '159924.XSHE':'000984.XSHG',    # etf    300等权    300等权\n",
    "    '159925.XSHE':'000300.XSHG',    # etf    南方300    沪深300\n",
    "    '512100.XSHG':'000852.XSHG',    # etf    1000ETF    中证1000指数\n",
    "    '512810.XSHG':'399967.XSHE',    # etf    军工行业    中证军工\n",
    "    '159936.XSHE':'000989.XSHG',    # etf    可选消费    全指可选\n",
    "    '159935.XSHE':'000905.XSHG',    # etf    景顺500    中证500\n",
    "    '512500.XSHG':'000905.XSHG',    # etf    中证500    中证500\n",
    "    '159933.XSHE':'000914.XSHG',    # etf    金地ETF    300金融\n",
    "    '159932.XSHE':'399802.XSHE',    # etf    500深ETF    500深市\n",
    "    '159931.XSHE':'399934.XSHE',    # etf    金融ETF    中证金融地产指数\n",
    "    '159930.XSHE':'399928.XSHE',    # etf    能源ETF    中证能源指数\n",
    "    '159939.XSHE':'000993.XSHG',    # etf    信息技术    全指信息\n",
    "    '159938.XSHE':'000991.XSHG',    # etf    广发医药    全指医药\n",
    "    '512340.XSHG':'000854.XSHG',    # etf    500原料    500原料\n",
    "    '510520.XSHG':'000905.XSHG',    # etf    诺安500    中证500\n",
    "    '512610.XSHG':'000933.XSHG',    # etf    医药卫生    中证医药\n",
    "    '510130.XSHG':'000044.XSHG',    # etf    中盘ETF    上证中盘\n",
    "    '159942.XSHE':'399612.XSHE',    # etf    中创100    中创100\n",
    "    '159943.XSHE':'399001.XSHE',    # etf    深证ETF    深证成指\n",
    "    '159940.XSHE':'000992.XSHG',    # etf    全指金融    全指金融\n",
    "    '159946.XSHE':'000990.XSHG',    # etf    全指消费    全指消费\n",
    "    '510510.XSHG':'000905.XSHG',    # etf    广发500    中证500\n",
    "    '159944.XSHE':'000987.XSHG',    # etf    全指材料    全指材料\n",
    "    '159945.XSHE':'000986.XSHG',    # etf    全指能源    全指能源\n",
    "    '159948.XSHE':'399006.XSHE',    # etf    创业板EF    创业板指\n",
    "    '159949.XSHE':'399673.XSHE',    # etf    创业板50    创业板50\n",
    "    '510150.XSHG':'000069.XSHG',    # etf    消费ETF    消费80\n",
    "    '510440.XSHG':'000802.XSHG',    # etf    500沪市    500沪市\n",
    "    '510210.XSHG':'000001.XSHG',    # etf    综指ETF    上证指数\n",
    "    '510880.XSHG':'000015.XSHG',    # etf    红利ETF    红利指数\n",
    "    '510090.XSHG':'000048.XSHG',    # etf    责任ETF    责任指数\n",
    "    '510630.XSHG':'000036.XSHG',    # etf    消费行业    上证消费\n",
    "    '512660.XSHG':'399967.XSHE',    # etf    军工ETF    中证军工\n",
    "    '510120.XSHG':'000064.XSHG',    # etf    非周ETF    非周期\n",
    "    '510650.XSHG':'000038.XSHG',    # etf    金融行业    上证金融\n",
    "    '159953.XSHE':'000988.XSHG',    # etf    工业ETF    全指工业\n",
    "    '159952.XSHE':'399006.XSHE',    # etf    创业ETF    创业板指\n",
    "    '159955.XSHE':'399006.XSHE',    # etf    创业板E    创业板指\n",
    "    '159957.XSHE':'399006.XSHE',    # etf    创业板HX    创业板指\n",
    "    '159958.XSHE':'399006.XSHE',    # etf    创业板ET    创业板指\n",
    "    '510410.XSHG':'000068.XSHG',    # etf    资源ETF    上证资源\n",
    "    '510260.XSHG':'000067.XSHG',    # etf    新兴ETF    上证新兴\n",
    "    '510710.XSHG':'000016.XSHG',    # etf    上50ETF    上证50\n",
    "    '512070.XSHG':'000849.XSHG',    # etf    非银ETF    沪深300非银行金融指数\n",
    "    '510010.XSHG':'000021.XSHG',    # etf    治理ETF    180治理\n",
    "    '512300.XSHG':'000857.XSHG',    # etf    500医药    500医药\n",
    "    #lof\n",
    "    '160119.XSHE':'399905.XSHE',    # lof    南方500    中证500\n",
    "    '160615.XSHE':'000300.XSHG',    # lof    鹏华300    沪深300\n",
    "    '501050.XSHG':'000016.XSHG',    # lof    50AH    上证50\n",
    "    '510380.XSHG':'000300.XSHG',    # lof    国寿300    沪深300\n",
    "    '162711.XSHE':'399905.XSHE',    # lof    广发500L    中证500\n",
    "    '161630.XSHE':'399814.XSHE',    # lof    融通农业    中证大农业指数\n",
    "    '162307.XSHE':'399903.XSHE',    # lof    海富100    中证100指数\n",
    "    '160616.XSHE':'399905.XSHE',    # lof    鹏华500    中证500\n",
    "    '160807.XSHE':'000300.XSHG',    # lof    长盛300    沪深300\n",
    "    '160806.XSHE':'000906.XSHG',    # lof    长盛同庆    中证800\n",
    "    '166007.XSHE':'000300.XSHG',    # lof    中欧300    沪深300\n",
    "    '163407.XSHE':'000300.XSHG',    # lof    兴全300    沪深300\n",
    "    '160223.XSHE':'399006.XSHE',    # lof    创业板基    创业板指\n",
    "    '160635.XSHE':'399933.XSHE',    # lof    医药基金    中证医药卫生指数\n",
    "    '161217.XSHE':'399961.XSHE',    # lof    国投资源    中证上游资源产业指数\n",
    "    '161213.XSHE':'399963.XSHE',    # lof    国投消费    中证下游消费与服务产业指数\n",
    "    '160225.XSHE':'399417.XSHE',    # lof    新汽车    国证新能源汽车指数\n",
    "    '501030.XSHG':'399806.XSHE',    # lof    环境治理    中证环境治理指数\n",
    "    '161227.XSHE':'399330.XSHE',    # lof    深证100    深证100\n",
    "    '165806.XSHE':'399330.XSHE',    # lof    东吴100    深证100\n",
    "    '161907.XSHE':'000922.XSHG',    # lof    万家红利    中证红利\n",
    "    '501019.XSHG':'399368.XSHE',    # lof    军工基金    国证军工\n",
    "    '165525.XSHE':'399995.XSHE',    # lof    基建工程    中证基建工程指数\n",
    "    '167901.XSHE':'000300.XSHG',    # lof    华宸300    沪深300\n",
    "    '501020.XSHG':'399974.XSHE',    # lof    国企改    中证国有企业改革指数\n",
    "    '163821.XSHE':'399984.XSHE',    # lof    中银300E    沪深300等权重指数\n",
    "    '160706.XSHE':'000300.XSHG',    # lof    嘉实300    沪深300\n",
    "    '161017.XSHE':'399905.XSHE',    # lof    富国500    中证500\n",
    "    '165309.XSHE':'000300.XSHG',    # lof    建信300    沪深300\n",
    "    '161607.XSHE':'399313.XSHE',    # lof    融通巨潮    巨潮100\n",
    "    '162510.XSHE':'399101.XSHE',    # lof    国安双力    中小板综\n",
    "    '159956.XSHE':'399006.XSHE',    # lof    创业板F    创业板指\n",
    "    '501031.XSHG':'399806.XSHE',    # lof    环境C    中证环境治理指数\n",
    "    '512560.XSHG':'399967.XSHE',    # lof    中证军工    中证军工\n",
    "    '512400.XSHG':'000819.XSHG',    # lof    有色金属    有色金属\n",
    "    '160716.XSHE':'399925.XSHE',    # lof    嘉实50    中证锐联基本面50指数\n",
    "    '160415.XSHE':'399007.XSHE',    # lof    华安S300    深证300\n",
    "    '510390.XSHG':'000300.XSHG',    # lof    平安300    沪深300\n",
    "    #场外基金\n",
    "    '100032.OF'  :'000922.XSHG',    # 场外    富国中证红利 / 中证红利\n",
    "    }\n",
    "\n",
    "index_fund_fj={    \n",
    "    #fja\n",
    "    '150145.XSHE':'000828.XSHG',    # fja    高贝塔A    300高贝\n",
    "    '150259.XSHE':'399992.XSHE',    # fja    重组A    中证万得并购重组指数\n",
    "    '150016.XSHE':'000300.XSHG',    # fja    合润A    沪深300\n",
    "    '150143.XSHE':'000832.XSHG',    # fja    转债A级    中证转债\n",
    "    '150150.XSHE':'000823.XSHG',    # fja    有色800A    中证800有色金属指数\n",
    "    '150275.XSHE':'399991.XSHE',    # fja    一带一A    中证一带一路主题指数\n",
    "    '150257.XSHE':'399993.XSHE',    # fja    生物A    中证万得生物科技指数\n",
    "    '502031.XSHG':'399807.XSHE',    # fja    高铁A    中证高铁产业指数\n",
    "    '502037.XSHG':'399805.XSHE',    # fja    网金A    中证互联网金融指数\n",
    "    '150064.XSHE':'399904.XSHE',    # fja    同瑞A    中证中盘200指数\n",
    "    '150094.XSHE':'000966.XSHG',    # fja    泰信400A    基本400\n",
    "    '150047.XSHE':'399942.XSHE',    # fja    消费A    中证内地消费主题指数\n",
    "    '150022.XSHE':'399001.XSHE',    # fja    深成指A    深证成指\n",
    "    '502024.XSHG':'399440.XSHE',    # fja    钢铁A    国证黑色金属行业指数\n",
    "    '150092.XSHE':'399007.XSHE',    # fja    诺德300A    深证300\n",
    "    '150090.XSHE':'399958.XSHE',    # fja    成长A    中证创业成长指数\n",
    "    '150309.XSHE':'399994.XSHE',    # fja    信息安A    中证信息安全主题指数\n",
    "    '150247.XSHE':'399971.XSHE',    # fja    传媒A级    中证传媒指数\n",
    "    '150321.XSHE':'399998.XSHE',    # fja    煤炭A基    中证煤炭指数\n",
    "    '150255.XSHE':'399986.XSHE',    # fja    银行业A    中证银行指数\n",
    "    '150325.XSHE':'399807.XSHE',    # fja    高铁A端    中证高铁产业指数\n",
    "    '150327.XSHE':'399808.XSHE',    # fja    新能A级    中证新能源指数\n",
    "    '150329.XSHE':'399809.XSHE',    # fja    保险A    中证方正富邦保险主题指数\n",
    "    '150130.XSHE':'399394.XSHE',    # fja    医药A    国证医药\n",
    "    '150269.XSHE':'399997.XSHE',    # fja    白酒A    中证白酒指数\n",
    "    '150051.XSHE':'000300.XSHG',    # fja    沪深300A    沪深300\n",
    "    '150177.XSHE':'399966.XSHE',    # fja    证保A    800非银\n",
    "    '502021.XSHG':'000016.XSHG',    # fja    国金50A    上证50\n",
    "    '150261.XSHE':'399989.XSHE',    # fja    医疗A    中证医疗指数\n",
    "    '150293.XSHE':'399807.XSHE',    # fja    高铁A级    中证高铁产业指数\n",
    "    '150263.XSHE':'000852.XSHG',    # fja    1000A    中证1000指数\n",
    "    '150265.XSHE':'399991.XSHE',    # fja    一带A    中证一带一路主题指数\n",
    "    '502027.XSHG':'399429.XSHE',    # fja    新丝路A    新丝路指数\n",
    "    '150267.XSHE':'399986.XSHE',    # fja    银行A类    中证银行指数\n",
    "    '150299.XSHE':'399986.XSHE',    # fja    银行股A    中证银行指数\n",
    "    '150186.XSHE':'399967.XSHE',    # fja    军工A级    中证军工\n",
    "    '150251.XSHE':'399990.XSHE',    # fja    煤炭A    中证煤炭等权指数\n",
    "    '150104.XSHE':'000300.XSHG',    # fja    HS300A    沪深300\n",
    "    '150315.XSHE':'399803.XSHE',    # fja    工业4A    中证工业4.0指数\n",
    "    '150317.XSHE':'399805.XSHE',    # fja    E金融A    中证互联网金融指数\n",
    "    '150311.XSHE':'399996.XSHE',    # fja    智能A    中证智能家居指数\n",
    "    '150157.XSHE':'000974.XSHG',    # fja    金融A    中证800金融指数\n",
    "    '150167.XSHE':'000300.XSHG',    # fja    银华300A    沪深300\n",
    "    '150164.XSHE':'000832.XSHG',    # fja    可转债A    中证转债\n",
    "    '150295.XSHE':'399974.XSHE',    # fja    改革A    中证国有企业改革指数\n",
    "    '150018.XSHE':'399004.XSHE',    # fja    银华稳进    深证100R\n",
    "    '502049.XSHG':'000016.XSHG',    # fja    上证50A    上证50\n",
    "    '502001.XSHG':'399982.XSHE',    # fja    500等权A    中证500等权重指数\n",
    "    '150303.XSHE':'399673.XSHE',    # fja    创业股A    创业板50\n",
    "    '150301.XSHE':'399975.XSHE',    # fja    证券股A    中证全指证券公司指数(四级行业)\n",
    "    '150307.XSHE':'399804.XSHE',    # fja    体育A    中证体育产业指数\n",
    "    '150305.XSHE':'399812.XSHE',    # fja    养老A    中证养老产业指数\n",
    "    '150249.XSHE':'399986.XSHE',    # fja    银行A端    中证银行指数\n",
    "    '150117.XSHE':'399393.XSHE',    # fja    房地产A    国证地产\n",
    "    '150289.XSHE':'399998.XSHE',    # fja    煤炭A级    中证煤炭指数\n",
    "    '502014.XSHG':'000853.XSHG',    # fja    一带一A    中证申万一带一路主题投资指数\n",
    "    '502017.XSHG':'399991.XSHE',    # fja    带路A    中证一带一路主题指数\n",
    "    '150273.XSHE':'399991.XSHE',    # fja    带路A    中证一带一路主题指数\n",
    "    '502011.XSHG':'399975.XSHE',    # fja    证券A    中证全指证券公司指数(四级行业)\n",
    "    '502054.XSHG':'399975.XSHE',    # fja    券商A    中证全指证券公司指数(四级行业)\n",
    "    '150049.XSHE':'399942.XSHE',    # fja    消费收益    中证内地消费主题指数\n",
    "    '150279.XSHE':'399808.XSHE',    # fja    新能A    中证新能源指数\n",
    "    '150100.XSHE':'000805.XSHG',    # fja    资源A    A股资源\n",
    "    '150028.XSHE':'399905.XSHE',    # fja    中证500A    中证500\n",
    "    '150106.XSHE':'399005.XSHE',    # fja    中小A    中小板指\n",
    "    '150283.XSHE':'000808.XSHG',    # fja    SW医药A    医药生物\n",
    "    '150291.XSHE':'399986.XSHE',    # fja    银行A份    中证银行指数\n",
    "    '150059.XSHE':'399944.XSHE',    # fja    资源A级    中证内地资源主题指数\n",
    "    '150192.XSHE':'399965.XSHE',    # fja    地产A    800地产\n",
    "    '150190.XSHE':'000827.XSHG',    # fja    NCF环保A    中证环保\n",
    "    '150281.XSHE':'399934.XSHE',    # fja    金融地A    中证金融地产指数\n",
    "    '150196.XSHE':'399395.XSHE',    # fja    有色A    国证有色\n",
    "    '150194.XSHE':'399970.XSHE',    # fja    互联网A    中证移动互联网指数\n",
    "    '150198.XSHE':'399396.XSHE',    # fja    食品A    国证食品\n",
    "    '150323.XSHE':'000827.XSHG',    # fja    环保A端    中证环保\n",
    "    '150287.XSHE':'399440.XSHE',    # fja    钢铁A    国证黑色金属行业指数\n",
    "    '150053.XSHE':'399905.XSHE',    # fja    泰达500A    中证500\n",
    "    '150203.XSHE':'399971.XSHE',    # fja    传媒A    中证传媒指数\n",
    "    '150066.XSHE':'399481.XSHE',    # fja    互利A    企债指数\n",
    "    '150057.XSHE':'399008.XSHE',    # fja    中小300A    中小300\n",
    "    '150055.XSHE':'399905.XSHE',    # fja    500A    中证500\n",
    "    '150205.XSHE':'399973.XSHE',    # fja    国防A    中证国防指数\n",
    "    '502007.XSHG':'399974.XSHE',    # fja    国企改A    中证国有企业改革指数\n",
    "    '150209.XSHE':'399974.XSHE',    # fja    国企改A    中证国有企业改革指数\n",
    "    '150245.XSHE':'399970.XSHE',    # fja    互联A    中证移动互联网指数\n",
    "    '150207.XSHE':'399983.XSHE',    # fja    地产A端    沪深300地产等权重指数\n",
    "    '502004.XSHG':'399967.XSHE',    # fja    军工A    中证军工\n",
    "    '502057.XSHG':'399989.XSHE',    # fja    医疗A    中证医疗指数\n",
    "    '150030.XSHE':'000971.XSHG',    # fja    中证90A    等权90\n",
    "    '150181.XSHE':'399967.XSHE',    # fja    军工A    中证军工\n",
    "    '150184.XSHE':'000827.XSHG',    # fja    环保A    中证环保\n",
    "    '150335.XSHE':'399967.XSHE',    # fja    军工股A    中证军工\n",
    "    '150188.XSHE':'000832.XSHG',    # fja    转债优先    中证转债\n",
    "    '150152.XSHE':'399006.XSHE',    # fja    创业板A    创业板指\n",
    "    '150211.XSHE':'399976.XSHE',    # fja    新能车A    中证新能源汽车指数\n",
    "    '150213.XSHE':'399958.XSHE',    # fja    成长A级    中证创业成长指数\n",
    "    '150215.XSHE':'399610.XSHE',    # fja    TMTA    TMT50\n",
    "    '150217.XSHE':'399412.XSHE',    # fja    新能源A    国证新能\n",
    "    '150243.XSHE':'399006.XSHE',    # fja    创业A    创业板指\n",
    "    '150032.XSHE':'399923.XSHE',    # fja    多利优先    公司债\n",
    "    '150036.XSHE':'000300.XSHG',    # fja    建信稳健    沪深300\n",
    "    '150200.XSHE':'399975.XSHE',    # fja    券商A    中证全指证券公司指数(四级行业)\n",
    "    '150277.XSHE':'399807.XSHE',    # fja    高铁A    中证高铁产业指数\n",
    "    '150171.XSHE':'399707.XSHE',    # fja    证券A    中证申万证券行业指数\n",
    "    '150135.XSHE':'399903.XSHE',    # fja    国富100A    中证100指数\n",
    "    '150343.XSHE':'399975.XSHE',    # fja    证券A基    中证全指证券公司指数(四级行业)\n",
    "    '150229.XSHE':'399987.XSHE',    # fja    酒A    中证酒指数\n",
    "    '150179.XSHE':'399935.XSHE',    # fja    信息A    中证信息技术指数\n",
    "    '150225.XSHE':'399966.XSHE',    # fja    证保A级    800非银\n",
    "    '150138.XSHE':'000842.XSHG',    # fja    中证800A    800等权\n",
    "    '150221.XSHE':'399959.XSHE',    # fja    中航军A    军工指数\n",
    "    '150223.XSHE':'399975.XSHE',    # fja    证券A级    中证全指证券公司指数(四级行业)\n",
    "    '150271.XSHE':'399441.XSHE',    # fja    生物药A    国证生物医药指数\n",
    "    '150148.XSHE':'000841.XSHG',    # fja    医药800A    800医药\n",
    "    '150012.XSHE':'399903.XSHE',    # fja    中证100A    中证100指数\n",
    "    '502041.XSHG':'000016.XSHG',    # fja    上50A    上证50\n",
    "    '150241.XSHE':'399986.XSHE',    # fja    银行A级    中证银行指数\n",
    "    '150076.XSHE':'000300.XSHG',    # fja    浙商稳健    沪深300\n",
    "    '150112.XSHE':'399330.XSHE',    # fja    深100A    深证100\n",
    "    '150227.XSHE':'399986.XSHE',    # fja    银行A    中证银行指数\n",
    "    '150173.XSHE':'000998.XSHG',    # fja    TMT中证A    中证TMT\n",
    "    '150237.XSHE':'000827.XSHG',    # fja    环保A级    中证环保\n",
    "    '150123.XSHE':'399550.XSHE',    # fja    建信50A    央视50\n",
    "    '150073.XSHE':'399958.XSHE',    # fja    诺安稳健    中证创业成长指数\n",
    "    '150121.XSHE':'399918.XSHE',    # fja    银河优先    沪深300成长指数\n",
    "    '150331.XSHE':'399805.XSHE',    # fja    网金融A    中证互联网金融指数\n",
    "    '150233.XSHE':'399810.XSHE',    # fja    传媒业A    中证申万传媒行业投资指数\n",
    "    '150231.XSHE':'399811.XSHE',    # fja    电子A    中证申万电子行业投资指数\n",
    "    '150083.XSHE':'399330.XSHE',    # fja    深证100A    深证100\n",
    "    '150235.XSHE':'399975.XSHE',    # fja    券商A级    中证全指证券公司指数(四级行业)\n",
    "    #fjm\n",
    "    '502010.XSHG':'399975.XSHE',    # fjm    易方达证券公司指数分级证券投资基金      中证全指证券公司指数(四级行业)\n",
    "    '162412.XSHE':'399989.XSHE',    # fjm    华宝兴业中证医疗指数分级证券投资基金    中证医疗指数\n",
    "    '163115.XSHE':'399967.XSHE',    # fjm    申万菱信中证军工指数分级证券投资基金    中证军工\n",
    "    '160634.XSHE':'000827.XSHG',    # fjm    鹏华中证环保产业指数分级证券投资基金    中证环保\n",
    "    '160637.XSHE':'399006.XSHE',    # fjm    鹏华创业板指数分级证券投资基金                     创业板指\n",
    "    '161715.XSHE':'399979.XSHE',    # fjm    招商中证大宗商品股票指数分级证券投资基金            中证大宗商品股票指数\n",
    "    '161028.XSHE':'399976.XSHE',    # fjm    富国中证新能源汽车指数分级证券投资基金             中证新能源汽车指数\n",
    "    '164818.XSHE':'399971.XSHE',    # fjm    工银瑞信中证传媒指数分级证券投资基金               中证传媒指数\n",
    "    '161022.XSHE':'399006.XSHE',    # fjm    富国创业板指数分级证券投资基金                     创业板指\n",
    "    '502048.XSHG':'000016.XSHG',    # fjm    易方达上证50指数分级证券投资基金                   上证50\n",
    "    '160626.XSHE':'000993.XSHG',    # fjm    鹏华中证信息技术指数分级证券投资基金               全指信息\n",
    "    '502056.XSHG':'399989.XSHE',    # fjm    广发中证医疗指数分级证券投资基金                   中证医疗指数\n",
    "    '165522.XSHE':'000998.XSHG',    # fjm    信诚中证TMT产业主题指数分级证券投资基金            中证TMT\n",
    "    '165312.XSHE':'399550.XSHE',    # fjm    建信央视财经50指数分级发起式证券投资基金           央视50\n",
    "    '163114.XSHE':'000827.XSHG',    # fjm    申万菱信中证环保产业指数分级证券投资基金           中证环保\n",
    "    '163116.XSHE':'399811.XSHE',    # fjm    申万菱信中证申万电子行业投资指数分级证券投资基金    中证申万电子行业投资指数\n",
    "    '160640.XSHE':'399808.XSHE',    # fjm    鹏华中证新能源指数分级证券投资基金    中证新能源指数\n",
    "    '163111.XSHE':'399005.XSHE',    # fjm    申万菱信中小板指数分级证券投资基金    中小板指\n",
    "    '164304.XSHE':'000827.XSHG',    # fjm    新华中证环保产业指数分级证券投资基金    中证环保\n",
    "    '163109.XSHE':'399106.XSHE',    # fjm    申万菱信深证成指分级证券投资基金    深证综指\n",
    "    '160631.XSHE':'399986.XSHE',    # fjm    鹏华中证银行指数分级证券投资基金    中证银行指数\n",
    "    '160629.XSHE':'399971.XSHE',    # fjm    鹏华中证传媒指数分级证券投资基金    中证传媒指数\n",
    "    '161720.XSHE':'399975.XSHE',    # fjm    招商中证全指证券公司指数分级证券投资基金    中证全指证券公司指数(四级行业)\n",
    "    '161118.XSHE':'399005.XSHE',    # fjm    易方达中小板指数分级证券投资基金    中小板指\n",
    "    }\n",
    "\n",
    "\n",
    "\n",
    "\n",
    "\n",
    "\n",
    "#保存基金列表\n",
    "def save_index_fund(file_name,file_root='./'):   \n",
    "    fund_list=[]    \n",
    "    for fund_code,index_code in index_fund_list.items():\n",
    "        #fund_code=code_fund_jq(code)\n",
    "        #index_code=code_index_jq(name)\n",
    "        fund=get_security_info(fund_code)\n",
    "        index=get_security_info(index_code)\n",
    "        fund_list.append([fund_code,fund.display_name,fund.type,fund.start_date,\n",
    "                         index_code,index.display_name,index.start_date])\n",
    "\n",
    "\n",
    "    column_list=['fund_code','fund_name','fund_type','fund_date','index_code','index_name','index_date']    \n",
    "    df=pd.DataFrame(data=fund_list,columns=column_list) \n",
    "    #组织文件名        \n",
    "    file_path='%sindex_%s_pool.csv'%(file_root,file_name)\n",
    "    #保存结果\n",
    "    df.to_csv(file_path) \n",
    "    \n",
    "    \n",
    "#查看基金列表    \n",
    "def show_index_fund():\n",
    "    fund_list=[]    \n",
    "    for fund_code,index_code in index_fund_list.items():\n",
    "        #fund_code=code_fund_jq(code1)\n",
    "        #index_code=code_index_jq(code2)\n",
    "        fund=get_security_info(fund_code)\n",
    "        index=get_security_info(index_code)\n",
    "        fund_list.append([fund_code,fund.display_name,fund.type,fund.start_date,\n",
    "                         index_code,index.display_name,index.start_date])\n",
    "\n",
    "    \n",
    "    column_list=[\n",
    "        (u'基金', u'代码'), (u'基金', u'名称'), (u'基金', u'类型'), (u'基金', u'成立日期'),\n",
    "        (u'指数', u'代码'), (u'指数', u'名称'), (u'指数', u'成立日期'), \n",
    "        ]   \n",
    "    df=pd.DataFrame(data=fund_list,columns= pd.MultiIndex.from_tuples(column_list)) \n",
    "    return df    \n",
    "    \n",
    "# save_index_fund('fund')\n",
    "\n",
    "fund.pool.create(index_fund_list)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>名称</th>\n",
       "      <th>type</th>\n",
       "      <th>start_date</th>\n",
       "      <th>index_code</th>\n",
       "      <th>index_name</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>510360.SH</th>\n",
       "      <td>广发300</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-09-09</td>\n",
       "      <td>000300.SH</td>\n",
       "      <td>沪深300</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>512300.SH</th>\n",
       "      <td>500医药</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-06-04</td>\n",
       "      <td>000857.SH</td>\n",
       "      <td>500医药</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510170.SH</th>\n",
       "      <td>商品ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-01-25</td>\n",
       "      <td>000066.SH</td>\n",
       "      <td>上证商品</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159952.SZ</th>\n",
       "      <td>创业ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2017-05-19</td>\n",
       "      <td>399006.SZ</td>\n",
       "      <td>创业板指</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510300.SH</th>\n",
       "      <td>300ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2012-05-28</td>\n",
       "      <td>000300.SH</td>\n",
       "      <td>沪深300</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510130.SH</th>\n",
       "      <td>中盘ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2010-06-23</td>\n",
       "      <td>000044.SH</td>\n",
       "      <td>上证中盘</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510580.SH</th>\n",
       "      <td>ZZ500ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-09-14</td>\n",
       "      <td>000905.SH</td>\n",
       "      <td>中证500</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159929.SZ</th>\n",
       "      <td>医药ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-09-16</td>\n",
       "      <td>399933.SZ</td>\n",
       "      <td>中证医药卫生指数</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>512900.SH</th>\n",
       "      <td>证券基金</td>\n",
       "      <td>etf</td>\n",
       "      <td>2017-03-31</td>\n",
       "      <td>399975.SZ</td>\n",
       "      <td>中证全指证券公司指数(四级行业)</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>160635.SZ</th>\n",
       "      <td>医药基金</td>\n",
       "      <td>lof</td>\n",
       "      <td>2016-08-01</td>\n",
       "      <td>399933.SZ</td>\n",
       "      <td>中证医药卫生指数</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>162510.SZ</th>\n",
       "      <td>国安双力</td>\n",
       "      <td>lof</td>\n",
       "      <td>2015-05-20</td>\n",
       "      <td>399101.SZ</td>\n",
       "      <td>中小板综</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159940.SZ</th>\n",
       "      <td>全指金融</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-04-17</td>\n",
       "      <td>000992.SH</td>\n",
       "      <td>全指金融</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>512680.SH</th>\n",
       "      <td>军工基金</td>\n",
       "      <td>etf</td>\n",
       "      <td>2016-10-14</td>\n",
       "      <td>399967.SZ</td>\n",
       "      <td>中证军工</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510430.SH</th>\n",
       "      <td>50等权</td>\n",
       "      <td>etf</td>\n",
       "      <td>2012-09-24</td>\n",
       "      <td>000050.SH</td>\n",
       "      <td>50等权</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510190.SH</th>\n",
       "      <td>龙头ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-01-10</td>\n",
       "      <td>000065.SH</td>\n",
       "      <td>上证龙头</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159936.SZ</th>\n",
       "      <td>可选消费</td>\n",
       "      <td>etf</td>\n",
       "      <td>2014-06-25</td>\n",
       "      <td>000989.SH</td>\n",
       "      <td>全指可选</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>160706.SZ</th>\n",
       "      <td>嘉实300</td>\n",
       "      <td>lof</td>\n",
       "      <td>2005-10-17</td>\n",
       "      <td>000300.SH</td>\n",
       "      <td>沪深300</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>167901.SZ</th>\n",
       "      <td>华宸300</td>\n",
       "      <td>lof</td>\n",
       "      <td>2013-06-03</td>\n",
       "      <td>000300.SH</td>\n",
       "      <td>沪深300</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159924.SZ</th>\n",
       "      <td>300等权</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-06-05</td>\n",
       "      <td>000984.SH</td>\n",
       "      <td>300等权</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510150.SH</th>\n",
       "      <td>消费ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-02-25</td>\n",
       "      <td>000069.SH</td>\n",
       "      <td>消费80</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159930.SZ</th>\n",
       "      <td>能源ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-09-16</td>\n",
       "      <td>399928.SZ</td>\n",
       "      <td>中证能源指数</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>166007.SZ</th>\n",
       "      <td>中欧300</td>\n",
       "      <td>lof</td>\n",
       "      <td>2010-08-16</td>\n",
       "      <td>000300.SH</td>\n",
       "      <td>沪深300</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510630.SH</th>\n",
       "      <td>消费行业</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-05-08</td>\n",
       "      <td>000036.SH</td>\n",
       "      <td>上证消费</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159919.SZ</th>\n",
       "      <td>300ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2012-05-28</td>\n",
       "      <td>000300.SH</td>\n",
       "      <td>沪深300</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510050.SH</th>\n",
       "      <td>50ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2005-02-23</td>\n",
       "      <td>000016.SH</td>\n",
       "      <td>上证50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>512400.SH</th>\n",
       "      <td>有色金属</td>\n",
       "      <td>lof</td>\n",
       "      <td>2017-09-01</td>\n",
       "      <td>000819.SH</td>\n",
       "      <td>有色金属</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510270.SH</th>\n",
       "      <td>国企ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-08-18</td>\n",
       "      <td>000056.SH</td>\n",
       "      <td>上证国企</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510880.SH</th>\n",
       "      <td>红利ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2007-01-18</td>\n",
       "      <td>000015.SH</td>\n",
       "      <td>红利指数</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>161630.SZ</th>\n",
       "      <td>融通农业</td>\n",
       "      <td>lof</td>\n",
       "      <td>2017-02-15</td>\n",
       "      <td>399814.SZ</td>\n",
       "      <td>中证大农业指数</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>512070.SH</th>\n",
       "      <td>非银ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2014-07-18</td>\n",
       "      <td>000849.SH</td>\n",
       "      <td>沪深300非银行金融指数</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>160616.SZ</th>\n",
       "      <td>鹏华500</td>\n",
       "      <td>lof</td>\n",
       "      <td>2010-04-28</td>\n",
       "      <td>399905.SZ</td>\n",
       "      <td>中证500</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>512010.SH</th>\n",
       "      <td>医药ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-10-28</td>\n",
       "      <td>000913.SH</td>\n",
       "      <td>300医药</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510160.SH</th>\n",
       "      <td>小康ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2010-11-01</td>\n",
       "      <td>399901.SZ</td>\n",
       "      <td>中证南方小康产业指数</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>512660.SH</th>\n",
       "      <td>军工ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2016-08-08</td>\n",
       "      <td>399967.SZ</td>\n",
       "      <td>中证军工</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159946.SZ</th>\n",
       "      <td>全指消费</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-07-13</td>\n",
       "      <td>000990.SH</td>\n",
       "      <td>全指消费</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510310.SH</th>\n",
       "      <td>HS300ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-03-25</td>\n",
       "      <td>000300.SH</td>\n",
       "      <td>沪深300</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159938.SZ</th>\n",
       "      <td>广发医药</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-01-08</td>\n",
       "      <td>000991.SH</td>\n",
       "      <td>全指医药</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>160223.SZ</th>\n",
       "      <td>创业板基</td>\n",
       "      <td>lof</td>\n",
       "      <td>2016-11-28</td>\n",
       "      <td>399006.SZ</td>\n",
       "      <td>创业板指</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>512600.SH</th>\n",
       "      <td>主要消费</td>\n",
       "      <td>etf</td>\n",
       "      <td>2014-07-25</td>\n",
       "      <td>000932.SH</td>\n",
       "      <td>中证消费</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>165525.SZ</th>\n",
       "      <td>基建工程</td>\n",
       "      <td>lof</td>\n",
       "      <td>2016-12-09</td>\n",
       "      <td>399995.SZ</td>\n",
       "      <td>中证基建工程指数</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>512640.SH</th>\n",
       "      <td>金融地产</td>\n",
       "      <td>etf</td>\n",
       "      <td>2014-07-25</td>\n",
       "      <td>000934.SH</td>\n",
       "      <td>中证金融</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>512800.SH</th>\n",
       "      <td>银行ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2017-08-03</td>\n",
       "      <td>399986.SZ</td>\n",
       "      <td>中证银行指数</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>512560.SH</th>\n",
       "      <td>中证军工</td>\n",
       "      <td>lof</td>\n",
       "      <td>2017-07-28</td>\n",
       "      <td>399967.SZ</td>\n",
       "      <td>中证军工</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>160225.SZ</th>\n",
       "      <td>新汽车</td>\n",
       "      <td>lof</td>\n",
       "      <td>2016-07-20</td>\n",
       "      <td>399417.SZ</td>\n",
       "      <td>国证新能源汽车指数</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159923.SZ</th>\n",
       "      <td>100ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-03-05</td>\n",
       "      <td>000903.SH</td>\n",
       "      <td>中证100</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>501050.SH</th>\n",
       "      <td>50AH</td>\n",
       "      <td>lof</td>\n",
       "      <td>2016-11-28</td>\n",
       "      <td>000016.SH</td>\n",
       "      <td>上证50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159932.SZ</th>\n",
       "      <td>500深ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-10-21</td>\n",
       "      <td>399802.SZ</td>\n",
       "      <td>500深市</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510120.SH</th>\n",
       "      <td>非周ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-06-08</td>\n",
       "      <td>000064.SH</td>\n",
       "      <td>非周期</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159935.SZ</th>\n",
       "      <td>景顺500</td>\n",
       "      <td>etf</td>\n",
       "      <td>2014-01-21</td>\n",
       "      <td>000905.SH</td>\n",
       "      <td>中证500</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510680.SH</th>\n",
       "      <td>万家50</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-12-02</td>\n",
       "      <td>000016.SH</td>\n",
       "      <td>上证50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>512330.SH</th>\n",
       "      <td>500信息</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-07-20</td>\n",
       "      <td>000858.SH</td>\n",
       "      <td>500信息</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>161227.SZ</th>\n",
       "      <td>深证100</td>\n",
       "      <td>lof</td>\n",
       "      <td>2015-08-28</td>\n",
       "      <td>399330.SZ</td>\n",
       "      <td>深证100</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510410.SH</th>\n",
       "      <td>资源ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2012-05-11</td>\n",
       "      <td>000068.SH</td>\n",
       "      <td>上证资源</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159911.SZ</th>\n",
       "      <td>民营ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-10-14</td>\n",
       "      <td>399337.SZ</td>\n",
       "      <td>深证民营</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>512000.SH</th>\n",
       "      <td>券商ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2016-09-14</td>\n",
       "      <td>399975.SZ</td>\n",
       "      <td>中证全指证券公司指数(四级行业)</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>165806.SZ</th>\n",
       "      <td>东吴100</td>\n",
       "      <td>lof</td>\n",
       "      <td>2012-04-27</td>\n",
       "      <td>399330.SZ</td>\n",
       "      <td>深证100</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510180.SH</th>\n",
       "      <td>180ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2006-05-18</td>\n",
       "      <td>000010.SH</td>\n",
       "      <td>上证180</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510060.SH</th>\n",
       "      <td>央企ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2009-10-27</td>\n",
       "      <td>000042.SH</td>\n",
       "      <td>上证央企</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>501030.SH</th>\n",
       "      <td>环境治理</td>\n",
       "      <td>lof</td>\n",
       "      <td>2017-02-20</td>\n",
       "      <td>399806.SZ</td>\n",
       "      <td>中证环境治理指数</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>512310.SH</th>\n",
       "      <td>500工业</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-08-04</td>\n",
       "      <td>000856.SH</td>\n",
       "      <td>500工业</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510290.SH</th>\n",
       "      <td>380ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-11-08</td>\n",
       "      <td>000009.SH</td>\n",
       "      <td>上证380</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>501031.SH</th>\n",
       "      <td>环境C</td>\n",
       "      <td>lof</td>\n",
       "      <td>2017-02-20</td>\n",
       "      <td>399806.SZ</td>\n",
       "      <td>中证环境治理指数</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>512580.SH</th>\n",
       "      <td>环保ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2017-02-28</td>\n",
       "      <td>000827.SH</td>\n",
       "      <td>中证环保</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>161607.SZ</th>\n",
       "      <td>融通巨潮</td>\n",
       "      <td>lof</td>\n",
       "      <td>2005-06-16</td>\n",
       "      <td>399313.SZ</td>\n",
       "      <td>巨潮100</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159912.SZ</th>\n",
       "      <td>深300ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-11-24</td>\n",
       "      <td>399007.SZ</td>\n",
       "      <td>深证300</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510020.SH</th>\n",
       "      <td>超大ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2010-03-19</td>\n",
       "      <td>000980.SH</td>\n",
       "      <td>中证超大</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>162307.SZ</th>\n",
       "      <td>海富100</td>\n",
       "      <td>lof</td>\n",
       "      <td>2010-01-08</td>\n",
       "      <td>399903.SZ</td>\n",
       "      <td>中证100指数</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510710.SH</th>\n",
       "      <td>上50ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-06-15</td>\n",
       "      <td>000016.SH</td>\n",
       "      <td>上证50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510510.SH</th>\n",
       "      <td>广发500</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-05-24</td>\n",
       "      <td>000905.SH</td>\n",
       "      <td>中证500</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>512120.SH</th>\n",
       "      <td>医药股基</td>\n",
       "      <td>etf</td>\n",
       "      <td>2014-01-06</td>\n",
       "      <td>000814.SH</td>\n",
       "      <td>细分医药</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159925.SZ</th>\n",
       "      <td>南方300</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-04-11</td>\n",
       "      <td>000300.SH</td>\n",
       "      <td>沪深300</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159957.SZ</th>\n",
       "      <td>创业板HX</td>\n",
       "      <td>etf</td>\n",
       "      <td>2018-01-04</td>\n",
       "      <td>399006.SZ</td>\n",
       "      <td>创业板指</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159933.SZ</th>\n",
       "      <td>金地ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-10-16</td>\n",
       "      <td>000914.SH</td>\n",
       "      <td>300金融</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510500.SH</th>\n",
       "      <td>500ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-03-15</td>\n",
       "      <td>000905.SH</td>\n",
       "      <td>中证500</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159918.SZ</th>\n",
       "      <td>中创400</td>\n",
       "      <td>etf</td>\n",
       "      <td>2012-05-11</td>\n",
       "      <td>399624.SZ</td>\n",
       "      <td>中创400</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>100032.OF</th>\n",
       "      <td>富国中证红利指数增强型证券投资基金</td>\n",
       "      <td>stock_fund</td>\n",
       "      <td>2008-11-20</td>\n",
       "      <td>000922.SH</td>\n",
       "      <td>中证红利</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510560.SH</th>\n",
       "      <td>国寿500</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-07-03</td>\n",
       "      <td>000905.SH</td>\n",
       "      <td>中证500</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510390.SH</th>\n",
       "      <td>平安300</td>\n",
       "      <td>lof</td>\n",
       "      <td>2018-01-26</td>\n",
       "      <td>000300.SH</td>\n",
       "      <td>沪深300</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510260.SH</th>\n",
       "      <td>新兴ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-06-08</td>\n",
       "      <td>000067.SH</td>\n",
       "      <td>上证新兴</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>160119.SZ</th>\n",
       "      <td>南方500</td>\n",
       "      <td>lof</td>\n",
       "      <td>2009-11-11</td>\n",
       "      <td>399905.SZ</td>\n",
       "      <td>中证500</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159916.SZ</th>\n",
       "      <td>深F60</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-10-24</td>\n",
       "      <td>399701.SZ</td>\n",
       "      <td>深证F60</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>512880.SH</th>\n",
       "      <td>证券ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2016-08-08</td>\n",
       "      <td>399975.SZ</td>\n",
       "      <td>中证全指证券公司指数(四级行业)</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510420.SH</th>\n",
       "      <td>180EWETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2012-07-09</td>\n",
       "      <td>000051.SH</td>\n",
       "      <td>180等权</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>160716.SZ</th>\n",
       "      <td>嘉实50</td>\n",
       "      <td>lof</td>\n",
       "      <td>2010-02-10</td>\n",
       "      <td>399925.SZ</td>\n",
       "      <td>中证锐联基本面50指数</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159909.SZ</th>\n",
       "      <td>深TMT</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-09-01</td>\n",
       "      <td>399610.SZ</td>\n",
       "      <td>TMT50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>512230.SH</th>\n",
       "      <td>景顺医药</td>\n",
       "      <td>etf</td>\n",
       "      <td>2014-08-19</td>\n",
       "      <td>000933.SH</td>\n",
       "      <td>中证医药</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510330.SH</th>\n",
       "      <td>华夏300</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-01-16</td>\n",
       "      <td>000300.SH</td>\n",
       "      <td>沪深300</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>163407.SZ</th>\n",
       "      <td>兴全300</td>\n",
       "      <td>lof</td>\n",
       "      <td>2011-01-19</td>\n",
       "      <td>000300.SH</td>\n",
       "      <td>沪深300</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159922.SZ</th>\n",
       "      <td>500ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-03-15</td>\n",
       "      <td>000905.SH</td>\n",
       "      <td>中证500</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510010.SH</th>\n",
       "      <td>治理ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2009-12-15</td>\n",
       "      <td>000021.SH</td>\n",
       "      <td>180治理</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159913.SZ</th>\n",
       "      <td>深价值</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-10-25</td>\n",
       "      <td>399348.SZ</td>\n",
       "      <td>深证价值</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510210.SH</th>\n",
       "      <td>综指ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-03-25</td>\n",
       "      <td>000001.SH</td>\n",
       "      <td>上证指数</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159902.SZ</th>\n",
       "      <td>中小板</td>\n",
       "      <td>etf</td>\n",
       "      <td>2006-09-05</td>\n",
       "      <td>399005.SZ</td>\n",
       "      <td>中小板指</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159907.SZ</th>\n",
       "      <td>中小300</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-08-10</td>\n",
       "      <td>399008.SZ</td>\n",
       "      <td>中小300</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159915.SZ</th>\n",
       "      <td>创业板</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-12-09</td>\n",
       "      <td>399006.SZ</td>\n",
       "      <td>创业板指</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159956.SZ</th>\n",
       "      <td>创业板F</td>\n",
       "      <td>lof</td>\n",
       "      <td>2018-03-07</td>\n",
       "      <td>399006.SZ</td>\n",
       "      <td>创业板指</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159949.SZ</th>\n",
       "      <td>创业板50</td>\n",
       "      <td>etf</td>\n",
       "      <td>2016-07-22</td>\n",
       "      <td>399673.SZ</td>\n",
       "      <td>创业板50</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>160415.SZ</th>\n",
       "      <td>华安S300</td>\n",
       "      <td>lof</td>\n",
       "      <td>2011-10-18</td>\n",
       "      <td>399007.SZ</td>\n",
       "      <td>深证300</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>512700.SH</th>\n",
       "      <td>银行基金</td>\n",
       "      <td>etf</td>\n",
       "      <td>2017-07-26</td>\n",
       "      <td>399986.SZ</td>\n",
       "      <td>中证银行指数</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159948.SZ</th>\n",
       "      <td>创业板EF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2016-05-31</td>\n",
       "      <td>399006.SZ</td>\n",
       "      <td>创业板指</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159901.SZ</th>\n",
       "      <td>深100ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2006-04-24</td>\n",
       "      <td>399330.SZ</td>\n",
       "      <td>深证100</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159906.SZ</th>\n",
       "      <td>深成长</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-02-23</td>\n",
       "      <td>399346.SZ</td>\n",
       "      <td>深证成长</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510090.SH</th>\n",
       "      <td>责任ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2010-08-09</td>\n",
       "      <td>000048.SH</td>\n",
       "      <td>责任指数</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510440.SH</th>\n",
       "      <td>500沪市</td>\n",
       "      <td>etf</td>\n",
       "      <td>2012-10-08</td>\n",
       "      <td>000802.SH</td>\n",
       "      <td>500沪市</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159958.SZ</th>\n",
       "      <td>创业板ET</td>\n",
       "      <td>etf</td>\n",
       "      <td>2018-01-19</td>\n",
       "      <td>399006.SZ</td>\n",
       "      <td>创业板指</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159910.SZ</th>\n",
       "      <td>深F120</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-09-27</td>\n",
       "      <td>399702.SZ</td>\n",
       "      <td>深证F120</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159944.SZ</th>\n",
       "      <td>全指材料</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-07-06</td>\n",
       "      <td>000987.SH</td>\n",
       "      <td>全指材料</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>512510.SH</th>\n",
       "      <td>ETF500</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-06-12</td>\n",
       "      <td>000905.SH</td>\n",
       "      <td>中证500</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>161017.SZ</th>\n",
       "      <td>富国500</td>\n",
       "      <td>lof</td>\n",
       "      <td>2011-10-21</td>\n",
       "      <td>399905.SZ</td>\n",
       "      <td>中证500</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>163821.SZ</th>\n",
       "      <td>中银300E</td>\n",
       "      <td>lof</td>\n",
       "      <td>2012-07-13</td>\n",
       "      <td>399984.SZ</td>\n",
       "      <td>沪深300等权重指数</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>501019.SH</th>\n",
       "      <td>军工基金</td>\n",
       "      <td>lof</td>\n",
       "      <td>2017-04-21</td>\n",
       "      <td>399368.SZ</td>\n",
       "      <td>国证军工</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510230.SH</th>\n",
       "      <td>金融ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-05-23</td>\n",
       "      <td>000018.SH</td>\n",
       "      <td>180金融</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510030.SH</th>\n",
       "      <td>价值ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2010-05-28</td>\n",
       "      <td>000029.SH</td>\n",
       "      <td>180价值</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>160615.SZ</th>\n",
       "      <td>鹏华300</td>\n",
       "      <td>lof</td>\n",
       "      <td>2009-05-08</td>\n",
       "      <td>000300.SH</td>\n",
       "      <td>沪深300</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>160806.SZ</th>\n",
       "      <td>长盛同庆</td>\n",
       "      <td>lof</td>\n",
       "      <td>2015-08-06</td>\n",
       "      <td>000906.SH</td>\n",
       "      <td>中证800</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>501020.SH</th>\n",
       "      <td>国企改</td>\n",
       "      <td>lof</td>\n",
       "      <td>2017-04-21</td>\n",
       "      <td>399974.SZ</td>\n",
       "      <td>中证国有企业改革指数</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159905.SZ</th>\n",
       "      <td>深红利</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-01-11</td>\n",
       "      <td>399324.SZ</td>\n",
       "      <td>深证红利</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>161217.SZ</th>\n",
       "      <td>国投资源</td>\n",
       "      <td>lof</td>\n",
       "      <td>2011-08-29</td>\n",
       "      <td>399961.SZ</td>\n",
       "      <td>中证上游资源产业指数</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>161213.SZ</th>\n",
       "      <td>国投消费</td>\n",
       "      <td>lof</td>\n",
       "      <td>2011-01-20</td>\n",
       "      <td>399963.SZ</td>\n",
       "      <td>中证下游消费与服务产业指数</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>160807.SZ</th>\n",
       "      <td>长盛300</td>\n",
       "      <td>lof</td>\n",
       "      <td>2010-09-06</td>\n",
       "      <td>000300.SH</td>\n",
       "      <td>沪深300</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159953.SZ</th>\n",
       "      <td>工业ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2017-07-14</td>\n",
       "      <td>000988.SH</td>\n",
       "      <td>全指工业</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>512500.SH</th>\n",
       "      <td>中证500</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-06-04</td>\n",
       "      <td>000905.SH</td>\n",
       "      <td>中证500</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159928.SZ</th>\n",
       "      <td>消费ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-09-16</td>\n",
       "      <td>399932.SZ</td>\n",
       "      <td>中证主要消费指数</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>512980.SH</th>\n",
       "      <td>传媒ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2018-01-19</td>\n",
       "      <td>399971.SZ</td>\n",
       "      <td>中证传媒指数</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>165309.SZ</th>\n",
       "      <td>建信300</td>\n",
       "      <td>lof</td>\n",
       "      <td>2009-11-30</td>\n",
       "      <td>000300.SH</td>\n",
       "      <td>沪深300</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>512610.SH</th>\n",
       "      <td>医药卫生</td>\n",
       "      <td>etf</td>\n",
       "      <td>2014-07-25</td>\n",
       "      <td>000933.SH</td>\n",
       "      <td>中证医药</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159943.SZ</th>\n",
       "      <td>深证ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-07-08</td>\n",
       "      <td>399001.SZ</td>\n",
       "      <td>深证成指</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510110.SH</th>\n",
       "      <td>周期ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2010-11-15</td>\n",
       "      <td>000063.SH</td>\n",
       "      <td>上证周期</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>512810.SH</th>\n",
       "      <td>军工行业</td>\n",
       "      <td>etf</td>\n",
       "      <td>2016-08-22</td>\n",
       "      <td>399967.SZ</td>\n",
       "      <td>中证军工</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>161907.SZ</th>\n",
       "      <td>万家红利</td>\n",
       "      <td>lof</td>\n",
       "      <td>2011-06-15</td>\n",
       "      <td>000922.SH</td>\n",
       "      <td>中证红利</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510650.SH</th>\n",
       "      <td>金融行业</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-05-08</td>\n",
       "      <td>000038.SH</td>\n",
       "      <td>上证金融</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>512340.SH</th>\n",
       "      <td>500原料</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-06-04</td>\n",
       "      <td>000854.SH</td>\n",
       "      <td>500原料</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510280.SH</th>\n",
       "      <td>成长ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-10-18</td>\n",
       "      <td>000028.SH</td>\n",
       "      <td>180成长</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159945.SZ</th>\n",
       "      <td>全指能源</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-07-06</td>\n",
       "      <td>000986.SH</td>\n",
       "      <td>全指能源</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159942.SZ</th>\n",
       "      <td>中创100</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-06-25</td>\n",
       "      <td>399612.SZ</td>\n",
       "      <td>中创100</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>512100.SH</th>\n",
       "      <td>1000ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2016-11-04</td>\n",
       "      <td>000852.SH</td>\n",
       "      <td>中证1000指数</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159908.SZ</th>\n",
       "      <td>深F200</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-07-13</td>\n",
       "      <td>399703.SZ</td>\n",
       "      <td>深证F200</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510070.SH</th>\n",
       "      <td>民企ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2010-10-29</td>\n",
       "      <td>000049.SH</td>\n",
       "      <td>上证民企</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510380.SH</th>\n",
       "      <td>国寿300</td>\n",
       "      <td>lof</td>\n",
       "      <td>2018-02-07</td>\n",
       "      <td>000300.SH</td>\n",
       "      <td>沪深300</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>162711.SZ</th>\n",
       "      <td>广发500L</td>\n",
       "      <td>lof</td>\n",
       "      <td>2010-01-08</td>\n",
       "      <td>399905.SZ</td>\n",
       "      <td>中证500</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510520.SH</th>\n",
       "      <td>诺安500</td>\n",
       "      <td>etf</td>\n",
       "      <td>2014-03-10</td>\n",
       "      <td>000905.SH</td>\n",
       "      <td>中证500</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159939.SZ</th>\n",
       "      <td>信息技术</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-02-05</td>\n",
       "      <td>000993.SH</td>\n",
       "      <td>全指信息</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510660.SH</th>\n",
       "      <td>医药行业</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-05-08</td>\n",
       "      <td>000037.SH</td>\n",
       "      <td>上证医药</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159903.SZ</th>\n",
       "      <td>深成ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2010-02-02</td>\n",
       "      <td>399001.SZ</td>\n",
       "      <td>深证成指</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159931.SZ</th>\n",
       "      <td>金融ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-09-16</td>\n",
       "      <td>399934.SZ</td>\n",
       "      <td>中证金融地产指数</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159955.SZ</th>\n",
       "      <td>创业板E</td>\n",
       "      <td>etf</td>\n",
       "      <td>2017-08-23</td>\n",
       "      <td>399006.SZ</td>\n",
       "      <td>创业板指</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>510220.SH</th>\n",
       "      <td>中小ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-03-28</td>\n",
       "      <td>000046.SH</td>\n",
       "      <td>上证中小</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                          名称        type start_date  index_code  \\\n",
       "510360.SH              广发300         etf  2015-09-09  000300.SH   \n",
       "512300.SH              500医药         etf  2015-06-04  000857.SH   \n",
       "510170.SH              商品ETF         etf  2011-01-25  000066.SH   \n",
       "159952.SZ              创业ETF         etf  2017-05-19  399006.SZ   \n",
       "510300.SH             300ETF         etf  2012-05-28  000300.SH   \n",
       "510130.SH              中盘ETF         etf  2010-06-23  000044.SH   \n",
       "510580.SH           ZZ500ETF         etf  2015-09-14  000905.SH   \n",
       "159929.SZ              医药ETF         etf  2013-09-16  399933.SZ   \n",
       "512900.SH               证券基金         etf  2017-03-31  399975.SZ   \n",
       "160635.SZ               医药基金         lof  2016-08-01  399933.SZ   \n",
       "162510.SZ               国安双力         lof  2015-05-20  399101.SZ   \n",
       "159940.SZ               全指金融         etf  2015-04-17  000992.SH   \n",
       "512680.SH               军工基金         etf  2016-10-14  399967.SZ   \n",
       "510430.SH               50等权         etf  2012-09-24  000050.SH   \n",
       "510190.SH              龙头ETF         etf  2011-01-10  000065.SH   \n",
       "159936.SZ               可选消费         etf  2014-06-25  000989.SH   \n",
       "160706.SZ              嘉实300         lof  2005-10-17  000300.SH   \n",
       "167901.SZ              华宸300         lof  2013-06-03  000300.SH   \n",
       "159924.SZ              300等权         etf  2013-06-05  000984.SH   \n",
       "510150.SH              消费ETF         etf  2011-02-25  000069.SH   \n",
       "159930.SZ              能源ETF         etf  2013-09-16  399928.SZ   \n",
       "166007.SZ              中欧300         lof  2010-08-16  000300.SH   \n",
       "510630.SH               消费行业         etf  2013-05-08  000036.SH   \n",
       "159919.SZ             300ETF         etf  2012-05-28  000300.SH   \n",
       "510050.SH              50ETF         etf  2005-02-23  000016.SH   \n",
       "512400.SH               有色金属         lof  2017-09-01  000819.SH   \n",
       "510270.SH              国企ETF         etf  2011-08-18  000056.SH   \n",
       "510880.SH              红利ETF         etf  2007-01-18  000015.SH   \n",
       "161630.SZ               融通农业         lof  2017-02-15  399814.SZ   \n",
       "512070.SH              非银ETF         etf  2014-07-18  000849.SH   \n",
       "160616.SZ              鹏华500         lof  2010-04-28  399905.SZ   \n",
       "512010.SH              医药ETF         etf  2013-10-28  000913.SH   \n",
       "510160.SH              小康ETF         etf  2010-11-01  399901.SZ   \n",
       "512660.SH              军工ETF         etf  2016-08-08  399967.SZ   \n",
       "159946.SZ               全指消费         etf  2015-07-13  000990.SH   \n",
       "510310.SH           HS300ETF         etf  2013-03-25  000300.SH   \n",
       "159938.SZ               广发医药         etf  2015-01-08  000991.SH   \n",
       "160223.SZ               创业板基         lof  2016-11-28  399006.SZ   \n",
       "512600.SH               主要消费         etf  2014-07-25  000932.SH   \n",
       "165525.SZ               基建工程         lof  2016-12-09  399995.SZ   \n",
       "512640.SH               金融地产         etf  2014-07-25  000934.SH   \n",
       "512800.SH              银行ETF         etf  2017-08-03  399986.SZ   \n",
       "512560.SH               中证军工         lof  2017-07-28  399967.SZ   \n",
       "160225.SZ                新汽车         lof  2016-07-20  399417.SZ   \n",
       "159923.SZ             100ETF         etf  2013-03-05  000903.SH   \n",
       "501050.SH               50AH         lof  2016-11-28  000016.SH   \n",
       "159932.SZ            500深ETF         etf  2013-10-21  399802.SZ   \n",
       "510120.SH              非周ETF         etf  2011-06-08  000064.SH   \n",
       "159935.SZ              景顺500         etf  2014-01-21  000905.SH   \n",
       "510680.SH               万家50         etf  2013-12-02  000016.SH   \n",
       "512330.SH              500信息         etf  2015-07-20  000858.SH   \n",
       "161227.SZ              深证100         lof  2015-08-28  399330.SZ   \n",
       "510410.SH              资源ETF         etf  2012-05-11  000068.SH   \n",
       "159911.SZ              民营ETF         etf  2011-10-14  399337.SZ   \n",
       "512000.SH              券商ETF         etf  2016-09-14  399975.SZ   \n",
       "165806.SZ              东吴100         lof  2012-04-27  399330.SZ   \n",
       "510180.SH             180ETF         etf  2006-05-18  000010.SH   \n",
       "510060.SH              央企ETF         etf  2009-10-27  000042.SH   \n",
       "501030.SH               环境治理         lof  2017-02-20  399806.SZ   \n",
       "512310.SH              500工业         etf  2015-08-04  000856.SH   \n",
       "510290.SH             380ETF         etf  2011-11-08  000009.SH   \n",
       "501031.SH                环境C         lof  2017-02-20  399806.SZ   \n",
       "512580.SH              环保ETF         etf  2017-02-28  000827.SH   \n",
       "161607.SZ               融通巨潮         lof  2005-06-16  399313.SZ   \n",
       "159912.SZ            深300ETF         etf  2011-11-24  399007.SZ   \n",
       "510020.SH              超大ETF         etf  2010-03-19  000980.SH   \n",
       "162307.SZ              海富100         lof  2010-01-08  399903.SZ   \n",
       "510710.SH             上50ETF         etf  2015-06-15  000016.SH   \n",
       "510510.SH              广发500         etf  2013-05-24  000905.SH   \n",
       "512120.SH               医药股基         etf  2014-01-06  000814.SH   \n",
       "159925.SZ              南方300         etf  2013-04-11  000300.SH   \n",
       "159957.SZ              创业板HX         etf  2018-01-04  399006.SZ   \n",
       "159933.SZ              金地ETF         etf  2013-10-16  000914.SH   \n",
       "510500.SH             500ETF         etf  2013-03-15  000905.SH   \n",
       "159918.SZ              中创400         etf  2012-05-11  399624.SZ   \n",
       "100032.OF  富国中证红利指数增强型证券投资基金  stock_fund  2008-11-20  000922.SH   \n",
       "510560.SH              国寿500         etf  2015-07-03  000905.SH   \n",
       "510390.SH              平安300         lof  2018-01-26  000300.SH   \n",
       "510260.SH              新兴ETF         etf  2011-06-08  000067.SH   \n",
       "160119.SZ              南方500         lof  2009-11-11  399905.SZ   \n",
       "159916.SZ               深F60         etf  2011-10-24  399701.SZ   \n",
       "512880.SH              证券ETF         etf  2016-08-08  399975.SZ   \n",
       "510420.SH           180EWETF         etf  2012-07-09  000051.SH   \n",
       "160716.SZ               嘉实50         lof  2010-02-10  399925.SZ   \n",
       "159909.SZ               深TMT         etf  2011-09-01  399610.SZ   \n",
       "512230.SH               景顺医药         etf  2014-08-19  000933.SH   \n",
       "510330.SH              华夏300         etf  2013-01-16  000300.SH   \n",
       "163407.SZ              兴全300         lof  2011-01-19  000300.SH   \n",
       "159922.SZ             500ETF         etf  2013-03-15  000905.SH   \n",
       "510010.SH              治理ETF         etf  2009-12-15  000021.SH   \n",
       "159913.SZ                深价值         etf  2011-10-25  399348.SZ   \n",
       "510210.SH              综指ETF         etf  2011-03-25  000001.SH   \n",
       "159902.SZ                中小板         etf  2006-09-05  399005.SZ   \n",
       "159907.SZ              中小300         etf  2011-08-10  399008.SZ   \n",
       "159915.SZ                创业板         etf  2011-12-09  399006.SZ   \n",
       "159956.SZ               创业板F         lof  2018-03-07  399006.SZ   \n",
       "159949.SZ              创业板50         etf  2016-07-22  399673.SZ   \n",
       "160415.SZ             华安S300         lof  2011-10-18  399007.SZ   \n",
       "512700.SH               银行基金         etf  2017-07-26  399986.SZ   \n",
       "159948.SZ              创业板EF         etf  2016-05-31  399006.SZ   \n",
       "159901.SZ            深100ETF         etf  2006-04-24  399330.SZ   \n",
       "159906.SZ                深成长         etf  2011-02-23  399346.SZ   \n",
       "510090.SH              责任ETF         etf  2010-08-09  000048.SH   \n",
       "510440.SH              500沪市         etf  2012-10-08  000802.SH   \n",
       "159958.SZ              创业板ET         etf  2018-01-19  399006.SZ   \n",
       "159910.SZ              深F120         etf  2011-09-27  399702.SZ   \n",
       "159944.SZ               全指材料         etf  2015-07-06  000987.SH   \n",
       "512510.SH             ETF500         etf  2015-06-12  000905.SH   \n",
       "161017.SZ              富国500         lof  2011-10-21  399905.SZ   \n",
       "163821.SZ             中银300E         lof  2012-07-13  399984.SZ   \n",
       "501019.SH               军工基金         lof  2017-04-21  399368.SZ   \n",
       "510230.SH              金融ETF         etf  2011-05-23  000018.SH   \n",
       "510030.SH              价值ETF         etf  2010-05-28  000029.SH   \n",
       "160615.SZ              鹏华300         lof  2009-05-08  000300.SH   \n",
       "160806.SZ               长盛同庆         lof  2015-08-06  000906.SH   \n",
       "501020.SH                国企改         lof  2017-04-21  399974.SZ   \n",
       "159905.SZ                深红利         etf  2011-01-11  399324.SZ   \n",
       "161217.SZ               国投资源         lof  2011-08-29  399961.SZ   \n",
       "161213.SZ               国投消费         lof  2011-01-20  399963.SZ   \n",
       "160807.SZ              长盛300         lof  2010-09-06  000300.SH   \n",
       "159953.SZ              工业ETF         etf  2017-07-14  000988.SH   \n",
       "512500.SH              中证500         etf  2015-06-04  000905.SH   \n",
       "159928.SZ              消费ETF         etf  2013-09-16  399932.SZ   \n",
       "512980.SH              传媒ETF         etf  2018-01-19  399971.SZ   \n",
       "165309.SZ              建信300         lof  2009-11-30  000300.SH   \n",
       "512610.SH               医药卫生         etf  2014-07-25  000933.SH   \n",
       "159943.SZ              深证ETF         etf  2015-07-08  399001.SZ   \n",
       "510110.SH              周期ETF         etf  2010-11-15  000063.SH   \n",
       "512810.SH               军工行业         etf  2016-08-22  399967.SZ   \n",
       "161907.SZ               万家红利         lof  2011-06-15  000922.SH   \n",
       "510650.SH               金融行业         etf  2013-05-08  000038.SH   \n",
       "512340.SH              500原料         etf  2015-06-04  000854.SH   \n",
       "510280.SH              成长ETF         etf  2011-10-18  000028.SH   \n",
       "159945.SZ               全指能源         etf  2015-07-06  000986.SH   \n",
       "159942.SZ              中创100         etf  2015-06-25  399612.SZ   \n",
       "512100.SH            1000ETF         etf  2016-11-04  000852.SH   \n",
       "159908.SZ              深F200         etf  2011-07-13  399703.SZ   \n",
       "510070.SH              民企ETF         etf  2010-10-29  000049.SH   \n",
       "510380.SH              国寿300         lof  2018-02-07  000300.SH   \n",
       "162711.SZ             广发500L         lof  2010-01-08  399905.SZ   \n",
       "510520.SH              诺安500         etf  2014-03-10  000905.SH   \n",
       "159939.SZ               信息技术         etf  2015-02-05  000993.SH   \n",
       "510660.SH               医药行业         etf  2013-05-08  000037.SH   \n",
       "159903.SZ              深成ETF         etf  2010-02-02  399001.SZ   \n",
       "159931.SZ              金融ETF         etf  2013-09-16  399934.SZ   \n",
       "159955.SZ               创业板E         etf  2017-08-23  399006.SZ   \n",
       "510220.SH              中小ETF         etf  2011-03-28  000046.SH   \n",
       "\n",
       "                 index_name  \n",
       "510360.SH             沪深300  \n",
       "512300.SH             500医药  \n",
       "510170.SH              上证商品  \n",
       "159952.SZ              创业板指  \n",
       "510300.SH             沪深300  \n",
       "510130.SH              上证中盘  \n",
       "510580.SH             中证500  \n",
       "159929.SZ          中证医药卫生指数  \n",
       "512900.SH  中证全指证券公司指数(四级行业)  \n",
       "160635.SZ          中证医药卫生指数  \n",
       "162510.SZ              中小板综  \n",
       "159940.SZ              全指金融  \n",
       "512680.SH              中证军工  \n",
       "510430.SH              50等权  \n",
       "510190.SH              上证龙头  \n",
       "159936.SZ              全指可选  \n",
       "160706.SZ             沪深300  \n",
       "167901.SZ             沪深300  \n",
       "159924.SZ             300等权  \n",
       "510150.SH              消费80  \n",
       "159930.SZ            中证能源指数  \n",
       "166007.SZ             沪深300  \n",
       "510630.SH              上证消费  \n",
       "159919.SZ             沪深300  \n",
       "510050.SH              上证50  \n",
       "512400.SH              有色金属  \n",
       "510270.SH              上证国企  \n",
       "510880.SH              红利指数  \n",
       "161630.SZ           中证大农业指数  \n",
       "512070.SH      沪深300非银行金融指数  \n",
       "160616.SZ             中证500  \n",
       "512010.SH             300医药  \n",
       "510160.SH        中证南方小康产业指数  \n",
       "512660.SH              中证军工  \n",
       "159946.SZ              全指消费  \n",
       "510310.SH             沪深300  \n",
       "159938.SZ              全指医药  \n",
       "160223.SZ              创业板指  \n",
       "512600.SH              中证消费  \n",
       "165525.SZ          中证基建工程指数  \n",
       "512640.SH              中证金融  \n",
       "512800.SH            中证银行指数  \n",
       "512560.SH              中证军工  \n",
       "160225.SZ         国证新能源汽车指数  \n",
       "159923.SZ             中证100  \n",
       "501050.SH              上证50  \n",
       "159932.SZ             500深市  \n",
       "510120.SH               非周期  \n",
       "159935.SZ             中证500  \n",
       "510680.SH              上证50  \n",
       "512330.SH             500信息  \n",
       "161227.SZ             深证100  \n",
       "510410.SH              上证资源  \n",
       "159911.SZ              深证民营  \n",
       "512000.SH  中证全指证券公司指数(四级行业)  \n",
       "165806.SZ             深证100  \n",
       "510180.SH             上证180  \n",
       "510060.SH              上证央企  \n",
       "501030.SH          中证环境治理指数  \n",
       "512310.SH             500工业  \n",
       "510290.SH             上证380  \n",
       "501031.SH          中证环境治理指数  \n",
       "512580.SH              中证环保  \n",
       "161607.SZ             巨潮100  \n",
       "159912.SZ             深证300  \n",
       "510020.SH              中证超大  \n",
       "162307.SZ           中证100指数  \n",
       "510710.SH              上证50  \n",
       "510510.SH             中证500  \n",
       "512120.SH              细分医药  \n",
       "159925.SZ             沪深300  \n",
       "159957.SZ              创业板指  \n",
       "159933.SZ             300金融  \n",
       "510500.SH             中证500  \n",
       "159918.SZ             中创400  \n",
       "100032.OF              中证红利  \n",
       "510560.SH             中证500  \n",
       "510390.SH             沪深300  \n",
       "510260.SH              上证新兴  \n",
       "160119.SZ             中证500  \n",
       "159916.SZ             深证F60  \n",
       "512880.SH  中证全指证券公司指数(四级行业)  \n",
       "510420.SH             180等权  \n",
       "160716.SZ       中证锐联基本面50指数  \n",
       "159909.SZ             TMT50  \n",
       "512230.SH              中证医药  \n",
       "510330.SH             沪深300  \n",
       "163407.SZ             沪深300  \n",
       "159922.SZ             中证500  \n",
       "510010.SH             180治理  \n",
       "159913.SZ              深证价值  \n",
       "510210.SH              上证指数  \n",
       "159902.SZ              中小板指  \n",
       "159907.SZ             中小300  \n",
       "159915.SZ              创业板指  \n",
       "159956.SZ              创业板指  \n",
       "159949.SZ             创业板50  \n",
       "160415.SZ             深证300  \n",
       "512700.SH            中证银行指数  \n",
       "159948.SZ              创业板指  \n",
       "159901.SZ             深证100  \n",
       "159906.SZ              深证成长  \n",
       "510090.SH              责任指数  \n",
       "510440.SH             500沪市  \n",
       "159958.SZ              创业板指  \n",
       "159910.SZ            深证F120  \n",
       "159944.SZ              全指材料  \n",
       "512510.SH             中证500  \n",
       "161017.SZ             中证500  \n",
       "163821.SZ        沪深300等权重指数  \n",
       "501019.SH              国证军工  \n",
       "510230.SH             180金融  \n",
       "510030.SH             180价值  \n",
       "160615.SZ             沪深300  \n",
       "160806.SZ             中证800  \n",
       "501020.SH        中证国有企业改革指数  \n",
       "159905.SZ              深证红利  \n",
       "161217.SZ        中证上游资源产业指数  \n",
       "161213.SZ     中证下游消费与服务产业指数  \n",
       "160807.SZ             沪深300  \n",
       "159953.SZ              全指工业  \n",
       "512500.SH             中证500  \n",
       "159928.SZ          中证主要消费指数  \n",
       "512980.SH            中证传媒指数  \n",
       "165309.SZ             沪深300  \n",
       "512610.SH              中证医药  \n",
       "159943.SZ              深证成指  \n",
       "510110.SH              上证周期  \n",
       "512810.SH              中证军工  \n",
       "161907.SZ              中证红利  \n",
       "510650.SH              上证金融  \n",
       "512340.SH             500原料  \n",
       "510280.SH             180成长  \n",
       "159945.SZ              全指能源  \n",
       "159942.SZ             中创100  \n",
       "512100.SH          中证1000指数  \n",
       "159908.SZ            深证F200  \n",
       "510070.SH              上证民企  \n",
       "510380.SH             沪深300  \n",
       "162711.SZ             中证500  \n",
       "510520.SH             中证500  \n",
       "159939.SZ              全指信息  \n",
       "510660.SH              上证医药  \n",
       "159903.SZ              深证成指  \n",
       "159931.SZ          中证金融地产指数  \n",
       "159955.SZ              创业板指  \n",
       "510220.SH              上证中小  "
      ]
     },
     "execution_count": 14,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#设置pd显示行列数目\n",
    "pd.set_option('display.max_rows',500)\n",
    "fund.pool.show()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "collapsed": true
   },
   "source": [
    "### 2.2.查看基金"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {
    "scrolled": false
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr>\n",
       "      <th></th>\n",
       "      <th colspan=\"4\" halign=\"left\">基金</th>\n",
       "      <th colspan=\"3\" halign=\"left\">指数</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th></th>\n",
       "      <th>代码</th>\n",
       "      <th>名称</th>\n",
       "      <th>类型</th>\n",
       "      <th>成立日期</th>\n",
       "      <th>代码</th>\n",
       "      <th>名称</th>\n",
       "      <th>成立日期</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>510360.XSHG</td>\n",
       "      <td>广发300</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-09-09</td>\n",
       "      <td>000300.XSHG</td>\n",
       "      <td>沪深300</td>\n",
       "      <td>2005-04-08</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>512300.XSHG</td>\n",
       "      <td>500医药</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-06-04</td>\n",
       "      <td>000857.XSHG</td>\n",
       "      <td>500医药</td>\n",
       "      <td>2013-11-06</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>510170.XSHG</td>\n",
       "      <td>商品ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-01-25</td>\n",
       "      <td>000066.XSHG</td>\n",
       "      <td>上证商品</td>\n",
       "      <td>2010-04-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>159952.XSHE</td>\n",
       "      <td>创业ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2017-05-19</td>\n",
       "      <td>399006.XSHE</td>\n",
       "      <td>创业板指</td>\n",
       "      <td>2010-06-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>510300.XSHG</td>\n",
       "      <td>300ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2012-05-28</td>\n",
       "      <td>000300.XSHG</td>\n",
       "      <td>沪深300</td>\n",
       "      <td>2005-04-08</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>510130.XSHG</td>\n",
       "      <td>中盘ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2010-06-23</td>\n",
       "      <td>000044.XSHG</td>\n",
       "      <td>上证中盘</td>\n",
       "      <td>2009-07-03</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>510580.XSHG</td>\n",
       "      <td>ZZ500ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-09-14</td>\n",
       "      <td>000905.XSHG</td>\n",
       "      <td>中证500</td>\n",
       "      <td>2007-01-15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>159929.XSHE</td>\n",
       "      <td>医药ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-09-16</td>\n",
       "      <td>399933.XSHE</td>\n",
       "      <td>中证医药卫生指数</td>\n",
       "      <td>2009-07-03</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>512900.XSHG</td>\n",
       "      <td>证券基金</td>\n",
       "      <td>etf</td>\n",
       "      <td>2017-03-31</td>\n",
       "      <td>399975.XSHE</td>\n",
       "      <td>中证全指证券公司指数(四级行业)</td>\n",
       "      <td>2013-07-15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>160635.XSHE</td>\n",
       "      <td>医药基金</td>\n",
       "      <td>lof</td>\n",
       "      <td>2016-08-01</td>\n",
       "      <td>399933.XSHE</td>\n",
       "      <td>中证医药卫生指数</td>\n",
       "      <td>2009-07-03</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>162510.XSHE</td>\n",
       "      <td>国安双力</td>\n",
       "      <td>lof</td>\n",
       "      <td>2015-05-20</td>\n",
       "      <td>399101.XSHE</td>\n",
       "      <td>中小板综</td>\n",
       "      <td>2005-12-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>159940.XSHE</td>\n",
       "      <td>全指金融</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-04-17</td>\n",
       "      <td>000992.XSHG</td>\n",
       "      <td>全指金融</td>\n",
       "      <td>2011-08-02</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>512680.XSHG</td>\n",
       "      <td>军工基金</td>\n",
       "      <td>etf</td>\n",
       "      <td>2016-10-14</td>\n",
       "      <td>399967.XSHE</td>\n",
       "      <td>中证军工</td>\n",
       "      <td>2013-12-26</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>510430.XSHG</td>\n",
       "      <td>50等权</td>\n",
       "      <td>etf</td>\n",
       "      <td>2012-09-24</td>\n",
       "      <td>000050.XSHG</td>\n",
       "      <td>50等权</td>\n",
       "      <td>2011-01-04</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>510190.XSHG</td>\n",
       "      <td>龙头ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-01-10</td>\n",
       "      <td>000065.XSHG</td>\n",
       "      <td>上证龙头</td>\n",
       "      <td>2010-02-09</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>159936.XSHE</td>\n",
       "      <td>可选消费</td>\n",
       "      <td>etf</td>\n",
       "      <td>2014-06-25</td>\n",
       "      <td>000989.XSHG</td>\n",
       "      <td>全指可选</td>\n",
       "      <td>2011-08-02</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>160706.XSHE</td>\n",
       "      <td>嘉实300</td>\n",
       "      <td>lof</td>\n",
       "      <td>2005-10-17</td>\n",
       "      <td>000300.XSHG</td>\n",
       "      <td>沪深300</td>\n",
       "      <td>2005-04-08</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>167901.XSHE</td>\n",
       "      <td>华宸300</td>\n",
       "      <td>lof</td>\n",
       "      <td>2013-06-03</td>\n",
       "      <td>000300.XSHG</td>\n",
       "      <td>沪深300</td>\n",
       "      <td>2005-04-08</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>159924.XSHE</td>\n",
       "      <td>300等权</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-06-05</td>\n",
       "      <td>000984.XSHG</td>\n",
       "      <td>300等权</td>\n",
       "      <td>2011-08-02</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>510150.XSHG</td>\n",
       "      <td>消费ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-02-25</td>\n",
       "      <td>000069.XSHG</td>\n",
       "      <td>消费80</td>\n",
       "      <td>2010-05-28</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>159930.XSHE</td>\n",
       "      <td>能源ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-09-16</td>\n",
       "      <td>399928.XSHE</td>\n",
       "      <td>中证能源指数</td>\n",
       "      <td>2009-07-03</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>166007.XSHE</td>\n",
       "      <td>中欧300</td>\n",
       "      <td>lof</td>\n",
       "      <td>2010-08-16</td>\n",
       "      <td>000300.XSHG</td>\n",
       "      <td>沪深300</td>\n",
       "      <td>2005-04-08</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>510630.XSHG</td>\n",
       "      <td>消费行业</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-05-08</td>\n",
       "      <td>000036.XSHG</td>\n",
       "      <td>上证消费</td>\n",
       "      <td>2009-01-09</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>159919.XSHE</td>\n",
       "      <td>300ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2012-05-28</td>\n",
       "      <td>000300.XSHG</td>\n",
       "      <td>沪深300</td>\n",
       "      <td>2005-04-08</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>510050.XSHG</td>\n",
       "      <td>50ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2005-02-23</td>\n",
       "      <td>000016.XSHG</td>\n",
       "      <td>上证50</td>\n",
       "      <td>2004-01-02</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>512400.XSHG</td>\n",
       "      <td>有色金属</td>\n",
       "      <td>lof</td>\n",
       "      <td>2017-09-01</td>\n",
       "      <td>000819.XSHG</td>\n",
       "      <td>有色金属</td>\n",
       "      <td>2012-05-09</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>510270.XSHG</td>\n",
       "      <td>国企ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-08-18</td>\n",
       "      <td>000056.XSHG</td>\n",
       "      <td>上证国企</td>\n",
       "      <td>2010-01-04</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>510880.XSHG</td>\n",
       "      <td>红利ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2007-01-18</td>\n",
       "      <td>000015.XSHG</td>\n",
       "      <td>红利指数</td>\n",
       "      <td>2005-01-04</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>161630.XSHE</td>\n",
       "      <td>融通农业</td>\n",
       "      <td>lof</td>\n",
       "      <td>2017-02-15</td>\n",
       "      <td>399814.XSHE</td>\n",
       "      <td>中证大农业指数</td>\n",
       "      <td>2014-07-22</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>512070.XSHG</td>\n",
       "      <td>非银ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2014-07-18</td>\n",
       "      <td>000849.XSHG</td>\n",
       "      <td>沪深300非银行金融指数</td>\n",
       "      <td>2012-12-21</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>30</th>\n",
       "      <td>160616.XSHE</td>\n",
       "      <td>鹏华500</td>\n",
       "      <td>lof</td>\n",
       "      <td>2010-04-28</td>\n",
       "      <td>399905.XSHE</td>\n",
       "      <td>中证500</td>\n",
       "      <td>2007-01-15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>31</th>\n",
       "      <td>512010.XSHG</td>\n",
       "      <td>医药ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-10-28</td>\n",
       "      <td>000913.XSHG</td>\n",
       "      <td>300医药</td>\n",
       "      <td>2007-07-02</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>32</th>\n",
       "      <td>510160.XSHG</td>\n",
       "      <td>小康ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2010-11-01</td>\n",
       "      <td>399901.XSHE</td>\n",
       "      <td>中证南方小康产业指数</td>\n",
       "      <td>2010-04-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>33</th>\n",
       "      <td>512660.XSHG</td>\n",
       "      <td>军工ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2016-08-08</td>\n",
       "      <td>399967.XSHE</td>\n",
       "      <td>中证军工</td>\n",
       "      <td>2013-12-26</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>34</th>\n",
       "      <td>159946.XSHE</td>\n",
       "      <td>全指消费</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-07-13</td>\n",
       "      <td>000990.XSHG</td>\n",
       "      <td>全指消费</td>\n",
       "      <td>2011-08-02</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35</th>\n",
       "      <td>510310.XSHG</td>\n",
       "      <td>HS300ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-03-25</td>\n",
       "      <td>000300.XSHG</td>\n",
       "      <td>沪深300</td>\n",
       "      <td>2005-04-08</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>36</th>\n",
       "      <td>159938.XSHE</td>\n",
       "      <td>广发医药</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-01-08</td>\n",
       "      <td>000991.XSHG</td>\n",
       "      <td>全指医药</td>\n",
       "      <td>2011-08-02</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>37</th>\n",
       "      <td>160223.XSHE</td>\n",
       "      <td>创业板基</td>\n",
       "      <td>lof</td>\n",
       "      <td>2016-11-28</td>\n",
       "      <td>399006.XSHE</td>\n",
       "      <td>创业板指</td>\n",
       "      <td>2010-06-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>38</th>\n",
       "      <td>512600.XSHG</td>\n",
       "      <td>主要消费</td>\n",
       "      <td>etf</td>\n",
       "      <td>2014-07-25</td>\n",
       "      <td>000932.XSHG</td>\n",
       "      <td>中证消费</td>\n",
       "      <td>2009-07-03</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>39</th>\n",
       "      <td>165525.XSHE</td>\n",
       "      <td>基建工程</td>\n",
       "      <td>lof</td>\n",
       "      <td>2016-12-09</td>\n",
       "      <td>399995.XSHE</td>\n",
       "      <td>中证基建工程指数</td>\n",
       "      <td>2015-03-12</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>40</th>\n",
       "      <td>512640.XSHG</td>\n",
       "      <td>金融地产</td>\n",
       "      <td>etf</td>\n",
       "      <td>2014-07-25</td>\n",
       "      <td>000934.XSHG</td>\n",
       "      <td>中证金融</td>\n",
       "      <td>2009-07-03</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>41</th>\n",
       "      <td>512800.XSHG</td>\n",
       "      <td>银行ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2017-08-03</td>\n",
       "      <td>399986.XSHE</td>\n",
       "      <td>中证银行指数</td>\n",
       "      <td>2013-07-15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>42</th>\n",
       "      <td>512560.XSHG</td>\n",
       "      <td>中证军工</td>\n",
       "      <td>lof</td>\n",
       "      <td>2017-07-28</td>\n",
       "      <td>399967.XSHE</td>\n",
       "      <td>中证军工</td>\n",
       "      <td>2013-12-26</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>43</th>\n",
       "      <td>160225.XSHE</td>\n",
       "      <td>新汽车</td>\n",
       "      <td>lof</td>\n",
       "      <td>2016-07-20</td>\n",
       "      <td>399417.XSHE</td>\n",
       "      <td>国证新能源汽车指数</td>\n",
       "      <td>2014-09-24</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>44</th>\n",
       "      <td>159923.XSHE</td>\n",
       "      <td>100ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-03-05</td>\n",
       "      <td>000903.XSHG</td>\n",
       "      <td>中证100</td>\n",
       "      <td>2006-05-29</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>45</th>\n",
       "      <td>501050.XSHG</td>\n",
       "      <td>50AH</td>\n",
       "      <td>lof</td>\n",
       "      <td>2016-11-28</td>\n",
       "      <td>000016.XSHG</td>\n",
       "      <td>上证50</td>\n",
       "      <td>2004-01-02</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>46</th>\n",
       "      <td>159932.XSHE</td>\n",
       "      <td>500深ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-10-21</td>\n",
       "      <td>399802.XSHE</td>\n",
       "      <td>500深市</td>\n",
       "      <td>2012-09-05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>47</th>\n",
       "      <td>510120.XSHG</td>\n",
       "      <td>非周ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-06-08</td>\n",
       "      <td>000064.XSHG</td>\n",
       "      <td>非周期</td>\n",
       "      <td>2010-02-03</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>48</th>\n",
       "      <td>159935.XSHE</td>\n",
       "      <td>景顺500</td>\n",
       "      <td>etf</td>\n",
       "      <td>2014-01-21</td>\n",
       "      <td>000905.XSHG</td>\n",
       "      <td>中证500</td>\n",
       "      <td>2007-01-15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>49</th>\n",
       "      <td>510680.XSHG</td>\n",
       "      <td>万家50</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-12-02</td>\n",
       "      <td>000016.XSHG</td>\n",
       "      <td>上证50</td>\n",
       "      <td>2004-01-02</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>50</th>\n",
       "      <td>512330.XSHG</td>\n",
       "      <td>500信息</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-07-20</td>\n",
       "      <td>000858.XSHG</td>\n",
       "      <td>500信息</td>\n",
       "      <td>2013-11-06</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>51</th>\n",
       "      <td>161227.XSHE</td>\n",
       "      <td>深证100</td>\n",
       "      <td>lof</td>\n",
       "      <td>2015-08-28</td>\n",
       "      <td>399330.XSHE</td>\n",
       "      <td>深证100</td>\n",
       "      <td>2006-01-24</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>52</th>\n",
       "      <td>510410.XSHG</td>\n",
       "      <td>资源ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2012-05-11</td>\n",
       "      <td>000068.XSHG</td>\n",
       "      <td>上证资源</td>\n",
       "      <td>2010-05-28</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>53</th>\n",
       "      <td>159911.XSHE</td>\n",
       "      <td>民营ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-10-14</td>\n",
       "      <td>399337.XSHE</td>\n",
       "      <td>深证民营</td>\n",
       "      <td>2009-08-03</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>54</th>\n",
       "      <td>512000.XSHG</td>\n",
       "      <td>券商ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2016-09-14</td>\n",
       "      <td>399975.XSHE</td>\n",
       "      <td>中证全指证券公司指数(四级行业)</td>\n",
       "      <td>2013-07-15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>55</th>\n",
       "      <td>165806.XSHE</td>\n",
       "      <td>东吴100</td>\n",
       "      <td>lof</td>\n",
       "      <td>2012-04-27</td>\n",
       "      <td>399330.XSHE</td>\n",
       "      <td>深证100</td>\n",
       "      <td>2006-01-24</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>56</th>\n",
       "      <td>510180.XSHG</td>\n",
       "      <td>180ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2006-05-18</td>\n",
       "      <td>000010.XSHG</td>\n",
       "      <td>上证180</td>\n",
       "      <td>2002-07-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>57</th>\n",
       "      <td>510060.XSHG</td>\n",
       "      <td>央企ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2009-10-27</td>\n",
       "      <td>000042.XSHG</td>\n",
       "      <td>上证央企</td>\n",
       "      <td>2009-03-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>58</th>\n",
       "      <td>501030.XSHG</td>\n",
       "      <td>环境治理</td>\n",
       "      <td>lof</td>\n",
       "      <td>2017-02-20</td>\n",
       "      <td>399806.XSHE</td>\n",
       "      <td>中证环境治理指数</td>\n",
       "      <td>2014-07-21</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>59</th>\n",
       "      <td>512310.XSHG</td>\n",
       "      <td>500工业</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-08-04</td>\n",
       "      <td>000856.XSHG</td>\n",
       "      <td>500工业</td>\n",
       "      <td>2013-11-06</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>60</th>\n",
       "      <td>510290.XSHG</td>\n",
       "      <td>380ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-11-08</td>\n",
       "      <td>000009.XSHG</td>\n",
       "      <td>上证380</td>\n",
       "      <td>2010-11-29</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>61</th>\n",
       "      <td>501031.XSHG</td>\n",
       "      <td>环境C</td>\n",
       "      <td>lof</td>\n",
       "      <td>2017-02-20</td>\n",
       "      <td>399806.XSHE</td>\n",
       "      <td>中证环境治理指数</td>\n",
       "      <td>2014-07-21</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>62</th>\n",
       "      <td>512580.XSHG</td>\n",
       "      <td>环保ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2017-02-28</td>\n",
       "      <td>000827.XSHG</td>\n",
       "      <td>中证环保</td>\n",
       "      <td>2012-09-25</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>63</th>\n",
       "      <td>161607.XSHE</td>\n",
       "      <td>融通巨潮</td>\n",
       "      <td>lof</td>\n",
       "      <td>2005-06-16</td>\n",
       "      <td>399313.XSHE</td>\n",
       "      <td>巨潮100</td>\n",
       "      <td>2005-02-03</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>64</th>\n",
       "      <td>159912.XSHE</td>\n",
       "      <td>深300ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-11-24</td>\n",
       "      <td>399007.XSHE</td>\n",
       "      <td>深证300</td>\n",
       "      <td>2009-11-04</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>65</th>\n",
       "      <td>510020.XSHG</td>\n",
       "      <td>超大ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2010-03-19</td>\n",
       "      <td>000980.XSHG</td>\n",
       "      <td>中证超大</td>\n",
       "      <td>2011-05-10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>66</th>\n",
       "      <td>162307.XSHE</td>\n",
       "      <td>海富100</td>\n",
       "      <td>lof</td>\n",
       "      <td>2010-01-08</td>\n",
       "      <td>399903.XSHE</td>\n",
       "      <td>中证100指数</td>\n",
       "      <td>2006-05-29</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>67</th>\n",
       "      <td>510710.XSHG</td>\n",
       "      <td>上50ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-06-15</td>\n",
       "      <td>000016.XSHG</td>\n",
       "      <td>上证50</td>\n",
       "      <td>2004-01-02</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>68</th>\n",
       "      <td>510510.XSHG</td>\n",
       "      <td>广发500</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-05-24</td>\n",
       "      <td>000905.XSHG</td>\n",
       "      <td>中证500</td>\n",
       "      <td>2007-01-15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>69</th>\n",
       "      <td>512120.XSHG</td>\n",
       "      <td>医药股基</td>\n",
       "      <td>etf</td>\n",
       "      <td>2014-01-06</td>\n",
       "      <td>000814.XSHG</td>\n",
       "      <td>细分医药</td>\n",
       "      <td>2012-04-11</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>70</th>\n",
       "      <td>159925.XSHE</td>\n",
       "      <td>南方300</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-04-11</td>\n",
       "      <td>000300.XSHG</td>\n",
       "      <td>沪深300</td>\n",
       "      <td>2005-04-08</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>71</th>\n",
       "      <td>159957.XSHE</td>\n",
       "      <td>创业板HX</td>\n",
       "      <td>etf</td>\n",
       "      <td>2018-01-04</td>\n",
       "      <td>399006.XSHE</td>\n",
       "      <td>创业板指</td>\n",
       "      <td>2010-06-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>72</th>\n",
       "      <td>159933.XSHE</td>\n",
       "      <td>金地ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-10-16</td>\n",
       "      <td>000914.XSHG</td>\n",
       "      <td>300金融</td>\n",
       "      <td>2007-07-02</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>73</th>\n",
       "      <td>510500.XSHG</td>\n",
       "      <td>500ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-03-15</td>\n",
       "      <td>000905.XSHG</td>\n",
       "      <td>中证500</td>\n",
       "      <td>2007-01-15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>74</th>\n",
       "      <td>159918.XSHE</td>\n",
       "      <td>中创400</td>\n",
       "      <td>etf</td>\n",
       "      <td>2012-05-11</td>\n",
       "      <td>399624.XSHE</td>\n",
       "      <td>中创400</td>\n",
       "      <td>2011-08-15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>75</th>\n",
       "      <td>100032.OF</td>\n",
       "      <td>富国中证红利指数增强型证券投资基金</td>\n",
       "      <td>stock_fund</td>\n",
       "      <td>2008-11-20</td>\n",
       "      <td>000922.XSHG</td>\n",
       "      <td>中证红利</td>\n",
       "      <td>2008-05-26</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>76</th>\n",
       "      <td>510560.XSHG</td>\n",
       "      <td>国寿500</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-07-03</td>\n",
       "      <td>000905.XSHG</td>\n",
       "      <td>中证500</td>\n",
       "      <td>2007-01-15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>77</th>\n",
       "      <td>510390.XSHG</td>\n",
       "      <td>平安300</td>\n",
       "      <td>lof</td>\n",
       "      <td>2018-01-26</td>\n",
       "      <td>000300.XSHG</td>\n",
       "      <td>沪深300</td>\n",
       "      <td>2005-04-08</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>78</th>\n",
       "      <td>510260.XSHG</td>\n",
       "      <td>新兴ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-06-08</td>\n",
       "      <td>000067.XSHG</td>\n",
       "      <td>上证新兴</td>\n",
       "      <td>2010-04-30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>79</th>\n",
       "      <td>160119.XSHE</td>\n",
       "      <td>南方500</td>\n",
       "      <td>lof</td>\n",
       "      <td>2009-11-11</td>\n",
       "      <td>399905.XSHE</td>\n",
       "      <td>中证500</td>\n",
       "      <td>2007-01-15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>80</th>\n",
       "      <td>159916.XSHE</td>\n",
       "      <td>深F60</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-10-24</td>\n",
       "      <td>399701.XSHE</td>\n",
       "      <td>深证F60</td>\n",
       "      <td>2010-05-10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>81</th>\n",
       "      <td>512880.XSHG</td>\n",
       "      <td>证券ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2016-08-08</td>\n",
       "      <td>399975.XSHE</td>\n",
       "      <td>中证全指证券公司指数(四级行业)</td>\n",
       "      <td>2013-07-15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>82</th>\n",
       "      <td>510420.XSHG</td>\n",
       "      <td>180EWETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2012-07-09</td>\n",
       "      <td>000051.XSHG</td>\n",
       "      <td>180等权</td>\n",
       "      <td>2011-05-24</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>83</th>\n",
       "      <td>160716.XSHE</td>\n",
       "      <td>嘉实50</td>\n",
       "      <td>lof</td>\n",
       "      <td>2010-02-10</td>\n",
       "      <td>399925.XSHE</td>\n",
       "      <td>中证锐联基本面50指数</td>\n",
       "      <td>2009-02-26</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>84</th>\n",
       "      <td>159909.XSHE</td>\n",
       "      <td>深TMT</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-09-01</td>\n",
       "      <td>399610.XSHE</td>\n",
       "      <td>TMT50</td>\n",
       "      <td>2010-11-08</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>85</th>\n",
       "      <td>512230.XSHG</td>\n",
       "      <td>景顺医药</td>\n",
       "      <td>etf</td>\n",
       "      <td>2014-08-19</td>\n",
       "      <td>000933.XSHG</td>\n",
       "      <td>中证医药</td>\n",
       "      <td>2009-07-03</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>86</th>\n",
       "      <td>510330.XSHG</td>\n",
       "      <td>华夏300</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-01-16</td>\n",
       "      <td>000300.XSHG</td>\n",
       "      <td>沪深300</td>\n",
       "      <td>2005-04-08</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>87</th>\n",
       "      <td>163407.XSHE</td>\n",
       "      <td>兴全300</td>\n",
       "      <td>lof</td>\n",
       "      <td>2011-01-19</td>\n",
       "      <td>000300.XSHG</td>\n",
       "      <td>沪深300</td>\n",
       "      <td>2005-04-08</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>88</th>\n",
       "      <td>159922.XSHE</td>\n",
       "      <td>500ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-03-15</td>\n",
       "      <td>000905.XSHG</td>\n",
       "      <td>中证500</td>\n",
       "      <td>2007-01-15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>89</th>\n",
       "      <td>510010.XSHG</td>\n",
       "      <td>治理ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2009-12-15</td>\n",
       "      <td>000021.XSHG</td>\n",
       "      <td>180治理</td>\n",
       "      <td>2008-09-10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>90</th>\n",
       "      <td>159913.XSHE</td>\n",
       "      <td>深价值</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-10-25</td>\n",
       "      <td>399348.XSHE</td>\n",
       "      <td>深证价值</td>\n",
       "      <td>2009-11-04</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>91</th>\n",
       "      <td>510210.XSHG</td>\n",
       "      <td>综指ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-03-25</td>\n",
       "      <td>000001.XSHG</td>\n",
       "      <td>上证指数</td>\n",
       "      <td>1991-07-15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>92</th>\n",
       "      <td>159902.XSHE</td>\n",
       "      <td>中小板</td>\n",
       "      <td>etf</td>\n",
       "      <td>2006-09-05</td>\n",
       "      <td>399005.XSHE</td>\n",
       "      <td>中小板指</td>\n",
       "      <td>2006-01-24</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>93</th>\n",
       "      <td>159907.XSHE</td>\n",
       "      <td>中小300</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-08-10</td>\n",
       "      <td>399008.XSHE</td>\n",
       "      <td>中小300</td>\n",
       "      <td>2010-03-22</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>94</th>\n",
       "      <td>159915.XSHE</td>\n",
       "      <td>创业板</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-12-09</td>\n",
       "      <td>399006.XSHE</td>\n",
       "      <td>创业板指</td>\n",
       "      <td>2010-06-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>95</th>\n",
       "      <td>159956.XSHE</td>\n",
       "      <td>创业板F</td>\n",
       "      <td>lof</td>\n",
       "      <td>2018-03-07</td>\n",
       "      <td>399006.XSHE</td>\n",
       "      <td>创业板指</td>\n",
       "      <td>2010-06-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>96</th>\n",
       "      <td>159949.XSHE</td>\n",
       "      <td>创业板50</td>\n",
       "      <td>etf</td>\n",
       "      <td>2016-07-22</td>\n",
       "      <td>399673.XSHE</td>\n",
       "      <td>创业板50</td>\n",
       "      <td>2014-06-18</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>97</th>\n",
       "      <td>160415.XSHE</td>\n",
       "      <td>华安S300</td>\n",
       "      <td>lof</td>\n",
       "      <td>2011-10-18</td>\n",
       "      <td>399007.XSHE</td>\n",
       "      <td>深证300</td>\n",
       "      <td>2009-11-04</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>98</th>\n",
       "      <td>512700.XSHG</td>\n",
       "      <td>银行基金</td>\n",
       "      <td>etf</td>\n",
       "      <td>2017-07-26</td>\n",
       "      <td>399986.XSHE</td>\n",
       "      <td>中证银行指数</td>\n",
       "      <td>2013-07-15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>99</th>\n",
       "      <td>159948.XSHE</td>\n",
       "      <td>创业板EF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2016-05-31</td>\n",
       "      <td>399006.XSHE</td>\n",
       "      <td>创业板指</td>\n",
       "      <td>2010-06-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>100</th>\n",
       "      <td>159901.XSHE</td>\n",
       "      <td>深100ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2006-04-24</td>\n",
       "      <td>399330.XSHE</td>\n",
       "      <td>深证100</td>\n",
       "      <td>2006-01-24</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>101</th>\n",
       "      <td>159906.XSHE</td>\n",
       "      <td>深成长</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-02-23</td>\n",
       "      <td>399346.XSHE</td>\n",
       "      <td>深证成长</td>\n",
       "      <td>2009-11-04</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>102</th>\n",
       "      <td>510090.XSHG</td>\n",
       "      <td>责任ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2010-08-09</td>\n",
       "      <td>000048.XSHG</td>\n",
       "      <td>责任指数</td>\n",
       "      <td>2009-08-05</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>103</th>\n",
       "      <td>510440.XSHG</td>\n",
       "      <td>500沪市</td>\n",
       "      <td>etf</td>\n",
       "      <td>2012-10-08</td>\n",
       "      <td>000802.XSHG</td>\n",
       "      <td>500沪市</td>\n",
       "      <td>2011-11-08</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>104</th>\n",
       "      <td>159958.XSHE</td>\n",
       "      <td>创业板ET</td>\n",
       "      <td>etf</td>\n",
       "      <td>2018-01-19</td>\n",
       "      <td>399006.XSHE</td>\n",
       "      <td>创业板指</td>\n",
       "      <td>2010-06-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>105</th>\n",
       "      <td>159910.XSHE</td>\n",
       "      <td>深F120</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-09-27</td>\n",
       "      <td>399702.XSHE</td>\n",
       "      <td>深证F120</td>\n",
       "      <td>2010-05-10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>106</th>\n",
       "      <td>159944.XSHE</td>\n",
       "      <td>全指材料</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-07-06</td>\n",
       "      <td>000987.XSHG</td>\n",
       "      <td>全指材料</td>\n",
       "      <td>2011-08-02</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>107</th>\n",
       "      <td>512510.XSHG</td>\n",
       "      <td>ETF500</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-06-12</td>\n",
       "      <td>000905.XSHG</td>\n",
       "      <td>中证500</td>\n",
       "      <td>2007-01-15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>108</th>\n",
       "      <td>161017.XSHE</td>\n",
       "      <td>富国500</td>\n",
       "      <td>lof</td>\n",
       "      <td>2011-10-21</td>\n",
       "      <td>399905.XSHE</td>\n",
       "      <td>中证500</td>\n",
       "      <td>2007-01-15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>109</th>\n",
       "      <td>163821.XSHE</td>\n",
       "      <td>中银300E</td>\n",
       "      <td>lof</td>\n",
       "      <td>2012-07-13</td>\n",
       "      <td>399984.XSHE</td>\n",
       "      <td>沪深300等权重指数</td>\n",
       "      <td>2011-08-02</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>110</th>\n",
       "      <td>501019.XSHG</td>\n",
       "      <td>军工基金</td>\n",
       "      <td>lof</td>\n",
       "      <td>2017-04-21</td>\n",
       "      <td>399368.XSHE</td>\n",
       "      <td>国证军工</td>\n",
       "      <td>2009-11-04</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>111</th>\n",
       "      <td>510230.XSHG</td>\n",
       "      <td>金融ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-05-23</td>\n",
       "      <td>000018.XSHG</td>\n",
       "      <td>180金融</td>\n",
       "      <td>2007-12-10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>112</th>\n",
       "      <td>510030.XSHG</td>\n",
       "      <td>价值ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2010-05-28</td>\n",
       "      <td>000029.XSHG</td>\n",
       "      <td>180价值</td>\n",
       "      <td>2009-01-09</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>113</th>\n",
       "      <td>160615.XSHE</td>\n",
       "      <td>鹏华300</td>\n",
       "      <td>lof</td>\n",
       "      <td>2009-05-08</td>\n",
       "      <td>000300.XSHG</td>\n",
       "      <td>沪深300</td>\n",
       "      <td>2005-04-08</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>114</th>\n",
       "      <td>160806.XSHE</td>\n",
       "      <td>长盛同庆</td>\n",
       "      <td>lof</td>\n",
       "      <td>2015-08-06</td>\n",
       "      <td>000906.XSHG</td>\n",
       "      <td>中证800</td>\n",
       "      <td>2007-01-15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>115</th>\n",
       "      <td>501020.XSHG</td>\n",
       "      <td>国企改</td>\n",
       "      <td>lof</td>\n",
       "      <td>2017-04-21</td>\n",
       "      <td>399974.XSHE</td>\n",
       "      <td>中证国有企业改革指数</td>\n",
       "      <td>2014-08-07</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>116</th>\n",
       "      <td>159905.XSHE</td>\n",
       "      <td>深红利</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-01-11</td>\n",
       "      <td>399324.XSHE</td>\n",
       "      <td>深证红利</td>\n",
       "      <td>2006-01-24</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>117</th>\n",
       "      <td>161217.XSHE</td>\n",
       "      <td>国投资源</td>\n",
       "      <td>lof</td>\n",
       "      <td>2011-08-29</td>\n",
       "      <td>399961.XSHE</td>\n",
       "      <td>中证上游资源产业指数</td>\n",
       "      <td>2010-04-16</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>118</th>\n",
       "      <td>161213.XSHE</td>\n",
       "      <td>国投消费</td>\n",
       "      <td>lof</td>\n",
       "      <td>2011-01-20</td>\n",
       "      <td>399963.XSHE</td>\n",
       "      <td>中证下游消费与服务产业指数</td>\n",
       "      <td>2010-04-16</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>119</th>\n",
       "      <td>160807.XSHE</td>\n",
       "      <td>长盛300</td>\n",
       "      <td>lof</td>\n",
       "      <td>2010-09-06</td>\n",
       "      <td>000300.XSHG</td>\n",
       "      <td>沪深300</td>\n",
       "      <td>2005-04-08</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>120</th>\n",
       "      <td>159953.XSHE</td>\n",
       "      <td>工业ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2017-07-14</td>\n",
       "      <td>000988.XSHG</td>\n",
       "      <td>全指工业</td>\n",
       "      <td>2011-08-02</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>121</th>\n",
       "      <td>512500.XSHG</td>\n",
       "      <td>中证500</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-06-04</td>\n",
       "      <td>000905.XSHG</td>\n",
       "      <td>中证500</td>\n",
       "      <td>2007-01-15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>122</th>\n",
       "      <td>159928.XSHE</td>\n",
       "      <td>消费ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-09-16</td>\n",
       "      <td>399932.XSHE</td>\n",
       "      <td>中证主要消费指数</td>\n",
       "      <td>2009-07-03</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>123</th>\n",
       "      <td>512980.XSHG</td>\n",
       "      <td>传媒ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2018-01-19</td>\n",
       "      <td>399971.XSHE</td>\n",
       "      <td>中证传媒指数</td>\n",
       "      <td>2014-04-15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>124</th>\n",
       "      <td>165309.XSHE</td>\n",
       "      <td>建信300</td>\n",
       "      <td>lof</td>\n",
       "      <td>2009-11-30</td>\n",
       "      <td>000300.XSHG</td>\n",
       "      <td>沪深300</td>\n",
       "      <td>2005-04-08</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>125</th>\n",
       "      <td>512610.XSHG</td>\n",
       "      <td>医药卫生</td>\n",
       "      <td>etf</td>\n",
       "      <td>2014-07-25</td>\n",
       "      <td>000933.XSHG</td>\n",
       "      <td>中证医药</td>\n",
       "      <td>2009-07-03</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>126</th>\n",
       "      <td>159943.XSHE</td>\n",
       "      <td>深证ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-07-08</td>\n",
       "      <td>399001.XSHE</td>\n",
       "      <td>深证成指</td>\n",
       "      <td>1995-01-23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>127</th>\n",
       "      <td>510110.XSHG</td>\n",
       "      <td>周期ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2010-11-15</td>\n",
       "      <td>000063.XSHG</td>\n",
       "      <td>上证周期</td>\n",
       "      <td>2010-02-03</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>128</th>\n",
       "      <td>512810.XSHG</td>\n",
       "      <td>军工行业</td>\n",
       "      <td>etf</td>\n",
       "      <td>2016-08-22</td>\n",
       "      <td>399967.XSHE</td>\n",
       "      <td>中证军工</td>\n",
       "      <td>2013-12-26</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>129</th>\n",
       "      <td>161907.XSHE</td>\n",
       "      <td>万家红利</td>\n",
       "      <td>lof</td>\n",
       "      <td>2011-06-15</td>\n",
       "      <td>000922.XSHG</td>\n",
       "      <td>中证红利</td>\n",
       "      <td>2008-05-26</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>130</th>\n",
       "      <td>510650.XSHG</td>\n",
       "      <td>金融行业</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-05-08</td>\n",
       "      <td>000038.XSHG</td>\n",
       "      <td>上证金融</td>\n",
       "      <td>2009-01-09</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>131</th>\n",
       "      <td>512340.XSHG</td>\n",
       "      <td>500原料</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-06-04</td>\n",
       "      <td>000854.XSHG</td>\n",
       "      <td>500原料</td>\n",
       "      <td>2013-11-06</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>132</th>\n",
       "      <td>510280.XSHG</td>\n",
       "      <td>成长ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-10-18</td>\n",
       "      <td>000028.XSHG</td>\n",
       "      <td>180成长</td>\n",
       "      <td>2009-01-09</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>133</th>\n",
       "      <td>159945.XSHE</td>\n",
       "      <td>全指能源</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-07-06</td>\n",
       "      <td>000986.XSHG</td>\n",
       "      <td>全指能源</td>\n",
       "      <td>2011-08-02</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>134</th>\n",
       "      <td>159942.XSHE</td>\n",
       "      <td>中创100</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-06-25</td>\n",
       "      <td>399612.XSHE</td>\n",
       "      <td>中创100</td>\n",
       "      <td>2011-02-28</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>135</th>\n",
       "      <td>512100.XSHG</td>\n",
       "      <td>1000ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2016-11-04</td>\n",
       "      <td>000852.XSHG</td>\n",
       "      <td>中证1000指数</td>\n",
       "      <td>2014-10-17</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>136</th>\n",
       "      <td>159908.XSHE</td>\n",
       "      <td>深F200</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-07-13</td>\n",
       "      <td>399703.XSHE</td>\n",
       "      <td>深证F200</td>\n",
       "      <td>2010-05-10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>137</th>\n",
       "      <td>510070.XSHG</td>\n",
       "      <td>民企ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2010-10-29</td>\n",
       "      <td>000049.XSHG</td>\n",
       "      <td>上证民企</td>\n",
       "      <td>2009-08-25</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>138</th>\n",
       "      <td>510380.XSHG</td>\n",
       "      <td>国寿300</td>\n",
       "      <td>lof</td>\n",
       "      <td>2018-02-07</td>\n",
       "      <td>000300.XSHG</td>\n",
       "      <td>沪深300</td>\n",
       "      <td>2005-04-08</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>139</th>\n",
       "      <td>162711.XSHE</td>\n",
       "      <td>广发500L</td>\n",
       "      <td>lof</td>\n",
       "      <td>2010-01-08</td>\n",
       "      <td>399905.XSHE</td>\n",
       "      <td>中证500</td>\n",
       "      <td>2007-01-15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>140</th>\n",
       "      <td>510520.XSHG</td>\n",
       "      <td>诺安500</td>\n",
       "      <td>etf</td>\n",
       "      <td>2014-03-10</td>\n",
       "      <td>000905.XSHG</td>\n",
       "      <td>中证500</td>\n",
       "      <td>2007-01-15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>141</th>\n",
       "      <td>159939.XSHE</td>\n",
       "      <td>信息技术</td>\n",
       "      <td>etf</td>\n",
       "      <td>2015-02-05</td>\n",
       "      <td>000993.XSHG</td>\n",
       "      <td>全指信息</td>\n",
       "      <td>2011-08-02</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>142</th>\n",
       "      <td>510660.XSHG</td>\n",
       "      <td>医药行业</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-05-08</td>\n",
       "      <td>000037.XSHG</td>\n",
       "      <td>上证医药</td>\n",
       "      <td>2009-01-09</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>143</th>\n",
       "      <td>159903.XSHE</td>\n",
       "      <td>深成ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2010-02-02</td>\n",
       "      <td>399001.XSHE</td>\n",
       "      <td>深证成指</td>\n",
       "      <td>1995-01-23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>144</th>\n",
       "      <td>159931.XSHE</td>\n",
       "      <td>金融ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2013-09-16</td>\n",
       "      <td>399934.XSHE</td>\n",
       "      <td>中证金融地产指数</td>\n",
       "      <td>2009-07-03</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>145</th>\n",
       "      <td>159955.XSHE</td>\n",
       "      <td>创业板E</td>\n",
       "      <td>etf</td>\n",
       "      <td>2017-08-23</td>\n",
       "      <td>399006.XSHE</td>\n",
       "      <td>创业板指</td>\n",
       "      <td>2010-06-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>146</th>\n",
       "      <td>510220.XSHG</td>\n",
       "      <td>中小ETF</td>\n",
       "      <td>etf</td>\n",
       "      <td>2011-03-28</td>\n",
       "      <td>000046.XSHG</td>\n",
       "      <td>上证中小</td>\n",
       "      <td>2009-07-03</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "              基金                                                      指数  \\\n",
       "              代码                 名称          类型        成立日期           代码   \n",
       "0    510360.XSHG              广发300         etf  2015-09-09  000300.XSHG   \n",
       "1    512300.XSHG              500医药         etf  2015-06-04  000857.XSHG   \n",
       "2    510170.XSHG              商品ETF         etf  2011-01-25  000066.XSHG   \n",
       "3    159952.XSHE              创业ETF         etf  2017-05-19  399006.XSHE   \n",
       "4    510300.XSHG             300ETF         etf  2012-05-28  000300.XSHG   \n",
       "5    510130.XSHG              中盘ETF         etf  2010-06-23  000044.XSHG   \n",
       "6    510580.XSHG           ZZ500ETF         etf  2015-09-14  000905.XSHG   \n",
       "7    159929.XSHE              医药ETF         etf  2013-09-16  399933.XSHE   \n",
       "8    512900.XSHG               证券基金         etf  2017-03-31  399975.XSHE   \n",
       "9    160635.XSHE               医药基金         lof  2016-08-01  399933.XSHE   \n",
       "10   162510.XSHE               国安双力         lof  2015-05-20  399101.XSHE   \n",
       "11   159940.XSHE               全指金融         etf  2015-04-17  000992.XSHG   \n",
       "12   512680.XSHG               军工基金         etf  2016-10-14  399967.XSHE   \n",
       "13   510430.XSHG               50等权         etf  2012-09-24  000050.XSHG   \n",
       "14   510190.XSHG              龙头ETF         etf  2011-01-10  000065.XSHG   \n",
       "15   159936.XSHE               可选消费         etf  2014-06-25  000989.XSHG   \n",
       "16   160706.XSHE              嘉实300         lof  2005-10-17  000300.XSHG   \n",
       "17   167901.XSHE              华宸300         lof  2013-06-03  000300.XSHG   \n",
       "18   159924.XSHE              300等权         etf  2013-06-05  000984.XSHG   \n",
       "19   510150.XSHG              消费ETF         etf  2011-02-25  000069.XSHG   \n",
       "20   159930.XSHE              能源ETF         etf  2013-09-16  399928.XSHE   \n",
       "21   166007.XSHE              中欧300         lof  2010-08-16  000300.XSHG   \n",
       "22   510630.XSHG               消费行业         etf  2013-05-08  000036.XSHG   \n",
       "23   159919.XSHE             300ETF         etf  2012-05-28  000300.XSHG   \n",
       "24   510050.XSHG              50ETF         etf  2005-02-23  000016.XSHG   \n",
       "25   512400.XSHG               有色金属         lof  2017-09-01  000819.XSHG   \n",
       "26   510270.XSHG              国企ETF         etf  2011-08-18  000056.XSHG   \n",
       "27   510880.XSHG              红利ETF         etf  2007-01-18  000015.XSHG   \n",
       "28   161630.XSHE               融通农业         lof  2017-02-15  399814.XSHE   \n",
       "29   512070.XSHG              非银ETF         etf  2014-07-18  000849.XSHG   \n",
       "30   160616.XSHE              鹏华500         lof  2010-04-28  399905.XSHE   \n",
       "31   512010.XSHG              医药ETF         etf  2013-10-28  000913.XSHG   \n",
       "32   510160.XSHG              小康ETF         etf  2010-11-01  399901.XSHE   \n",
       "33   512660.XSHG              军工ETF         etf  2016-08-08  399967.XSHE   \n",
       "34   159946.XSHE               全指消费         etf  2015-07-13  000990.XSHG   \n",
       "35   510310.XSHG           HS300ETF         etf  2013-03-25  000300.XSHG   \n",
       "36   159938.XSHE               广发医药         etf  2015-01-08  000991.XSHG   \n",
       "37   160223.XSHE               创业板基         lof  2016-11-28  399006.XSHE   \n",
       "38   512600.XSHG               主要消费         etf  2014-07-25  000932.XSHG   \n",
       "39   165525.XSHE               基建工程         lof  2016-12-09  399995.XSHE   \n",
       "40   512640.XSHG               金融地产         etf  2014-07-25  000934.XSHG   \n",
       "41   512800.XSHG              银行ETF         etf  2017-08-03  399986.XSHE   \n",
       "42   512560.XSHG               中证军工         lof  2017-07-28  399967.XSHE   \n",
       "43   160225.XSHE                新汽车         lof  2016-07-20  399417.XSHE   \n",
       "44   159923.XSHE             100ETF         etf  2013-03-05  000903.XSHG   \n",
       "45   501050.XSHG               50AH         lof  2016-11-28  000016.XSHG   \n",
       "46   159932.XSHE            500深ETF         etf  2013-10-21  399802.XSHE   \n",
       "47   510120.XSHG              非周ETF         etf  2011-06-08  000064.XSHG   \n",
       "48   159935.XSHE              景顺500         etf  2014-01-21  000905.XSHG   \n",
       "49   510680.XSHG               万家50         etf  2013-12-02  000016.XSHG   \n",
       "50   512330.XSHG              500信息         etf  2015-07-20  000858.XSHG   \n",
       "51   161227.XSHE              深证100         lof  2015-08-28  399330.XSHE   \n",
       "52   510410.XSHG              资源ETF         etf  2012-05-11  000068.XSHG   \n",
       "53   159911.XSHE              民营ETF         etf  2011-10-14  399337.XSHE   \n",
       "54   512000.XSHG              券商ETF         etf  2016-09-14  399975.XSHE   \n",
       "55   165806.XSHE              东吴100         lof  2012-04-27  399330.XSHE   \n",
       "56   510180.XSHG             180ETF         etf  2006-05-18  000010.XSHG   \n",
       "57   510060.XSHG              央企ETF         etf  2009-10-27  000042.XSHG   \n",
       "58   501030.XSHG               环境治理         lof  2017-02-20  399806.XSHE   \n",
       "59   512310.XSHG              500工业         etf  2015-08-04  000856.XSHG   \n",
       "60   510290.XSHG             380ETF         etf  2011-11-08  000009.XSHG   \n",
       "61   501031.XSHG                环境C         lof  2017-02-20  399806.XSHE   \n",
       "62   512580.XSHG              环保ETF         etf  2017-02-28  000827.XSHG   \n",
       "63   161607.XSHE               融通巨潮         lof  2005-06-16  399313.XSHE   \n",
       "64   159912.XSHE            深300ETF         etf  2011-11-24  399007.XSHE   \n",
       "65   510020.XSHG              超大ETF         etf  2010-03-19  000980.XSHG   \n",
       "66   162307.XSHE              海富100         lof  2010-01-08  399903.XSHE   \n",
       "67   510710.XSHG             上50ETF         etf  2015-06-15  000016.XSHG   \n",
       "68   510510.XSHG              广发500         etf  2013-05-24  000905.XSHG   \n",
       "69   512120.XSHG               医药股基         etf  2014-01-06  000814.XSHG   \n",
       "70   159925.XSHE              南方300         etf  2013-04-11  000300.XSHG   \n",
       "71   159957.XSHE              创业板HX         etf  2018-01-04  399006.XSHE   \n",
       "72   159933.XSHE              金地ETF         etf  2013-10-16  000914.XSHG   \n",
       "73   510500.XSHG             500ETF         etf  2013-03-15  000905.XSHG   \n",
       "74   159918.XSHE              中创400         etf  2012-05-11  399624.XSHE   \n",
       "75     100032.OF  富国中证红利指数增强型证券投资基金  stock_fund  2008-11-20  000922.XSHG   \n",
       "76   510560.XSHG              国寿500         etf  2015-07-03  000905.XSHG   \n",
       "77   510390.XSHG              平安300         lof  2018-01-26  000300.XSHG   \n",
       "78   510260.XSHG              新兴ETF         etf  2011-06-08  000067.XSHG   \n",
       "79   160119.XSHE              南方500         lof  2009-11-11  399905.XSHE   \n",
       "80   159916.XSHE               深F60         etf  2011-10-24  399701.XSHE   \n",
       "81   512880.XSHG              证券ETF         etf  2016-08-08  399975.XSHE   \n",
       "82   510420.XSHG           180EWETF         etf  2012-07-09  000051.XSHG   \n",
       "83   160716.XSHE               嘉实50         lof  2010-02-10  399925.XSHE   \n",
       "84   159909.XSHE               深TMT         etf  2011-09-01  399610.XSHE   \n",
       "85   512230.XSHG               景顺医药         etf  2014-08-19  000933.XSHG   \n",
       "86   510330.XSHG              华夏300         etf  2013-01-16  000300.XSHG   \n",
       "87   163407.XSHE              兴全300         lof  2011-01-19  000300.XSHG   \n",
       "88   159922.XSHE             500ETF         etf  2013-03-15  000905.XSHG   \n",
       "89   510010.XSHG              治理ETF         etf  2009-12-15  000021.XSHG   \n",
       "90   159913.XSHE                深价值         etf  2011-10-25  399348.XSHE   \n",
       "91   510210.XSHG              综指ETF         etf  2011-03-25  000001.XSHG   \n",
       "92   159902.XSHE                中小板         etf  2006-09-05  399005.XSHE   \n",
       "93   159907.XSHE              中小300         etf  2011-08-10  399008.XSHE   \n",
       "94   159915.XSHE                创业板         etf  2011-12-09  399006.XSHE   \n",
       "95   159956.XSHE               创业板F         lof  2018-03-07  399006.XSHE   \n",
       "96   159949.XSHE              创业板50         etf  2016-07-22  399673.XSHE   \n",
       "97   160415.XSHE             华安S300         lof  2011-10-18  399007.XSHE   \n",
       "98   512700.XSHG               银行基金         etf  2017-07-26  399986.XSHE   \n",
       "99   159948.XSHE              创业板EF         etf  2016-05-31  399006.XSHE   \n",
       "100  159901.XSHE            深100ETF         etf  2006-04-24  399330.XSHE   \n",
       "101  159906.XSHE                深成长         etf  2011-02-23  399346.XSHE   \n",
       "102  510090.XSHG              责任ETF         etf  2010-08-09  000048.XSHG   \n",
       "103  510440.XSHG              500沪市         etf  2012-10-08  000802.XSHG   \n",
       "104  159958.XSHE              创业板ET         etf  2018-01-19  399006.XSHE   \n",
       "105  159910.XSHE              深F120         etf  2011-09-27  399702.XSHE   \n",
       "106  159944.XSHE               全指材料         etf  2015-07-06  000987.XSHG   \n",
       "107  512510.XSHG             ETF500         etf  2015-06-12  000905.XSHG   \n",
       "108  161017.XSHE              富国500         lof  2011-10-21  399905.XSHE   \n",
       "109  163821.XSHE             中银300E         lof  2012-07-13  399984.XSHE   \n",
       "110  501019.XSHG               军工基金         lof  2017-04-21  399368.XSHE   \n",
       "111  510230.XSHG              金融ETF         etf  2011-05-23  000018.XSHG   \n",
       "112  510030.XSHG              价值ETF         etf  2010-05-28  000029.XSHG   \n",
       "113  160615.XSHE              鹏华300         lof  2009-05-08  000300.XSHG   \n",
       "114  160806.XSHE               长盛同庆         lof  2015-08-06  000906.XSHG   \n",
       "115  501020.XSHG                国企改         lof  2017-04-21  399974.XSHE   \n",
       "116  159905.XSHE                深红利         etf  2011-01-11  399324.XSHE   \n",
       "117  161217.XSHE               国投资源         lof  2011-08-29  399961.XSHE   \n",
       "118  161213.XSHE               国投消费         lof  2011-01-20  399963.XSHE   \n",
       "119  160807.XSHE              长盛300         lof  2010-09-06  000300.XSHG   \n",
       "120  159953.XSHE              工业ETF         etf  2017-07-14  000988.XSHG   \n",
       "121  512500.XSHG              中证500         etf  2015-06-04  000905.XSHG   \n",
       "122  159928.XSHE              消费ETF         etf  2013-09-16  399932.XSHE   \n",
       "123  512980.XSHG              传媒ETF         etf  2018-01-19  399971.XSHE   \n",
       "124  165309.XSHE              建信300         lof  2009-11-30  000300.XSHG   \n",
       "125  512610.XSHG               医药卫生         etf  2014-07-25  000933.XSHG   \n",
       "126  159943.XSHE              深证ETF         etf  2015-07-08  399001.XSHE   \n",
       "127  510110.XSHG              周期ETF         etf  2010-11-15  000063.XSHG   \n",
       "128  512810.XSHG               军工行业         etf  2016-08-22  399967.XSHE   \n",
       "129  161907.XSHE               万家红利         lof  2011-06-15  000922.XSHG   \n",
       "130  510650.XSHG               金融行业         etf  2013-05-08  000038.XSHG   \n",
       "131  512340.XSHG              500原料         etf  2015-06-04  000854.XSHG   \n",
       "132  510280.XSHG              成长ETF         etf  2011-10-18  000028.XSHG   \n",
       "133  159945.XSHE               全指能源         etf  2015-07-06  000986.XSHG   \n",
       "134  159942.XSHE              中创100         etf  2015-06-25  399612.XSHE   \n",
       "135  512100.XSHG            1000ETF         etf  2016-11-04  000852.XSHG   \n",
       "136  159908.XSHE              深F200         etf  2011-07-13  399703.XSHE   \n",
       "137  510070.XSHG              民企ETF         etf  2010-10-29  000049.XSHG   \n",
       "138  510380.XSHG              国寿300         lof  2018-02-07  000300.XSHG   \n",
       "139  162711.XSHE             广发500L         lof  2010-01-08  399905.XSHE   \n",
       "140  510520.XSHG              诺安500         etf  2014-03-10  000905.XSHG   \n",
       "141  159939.XSHE               信息技术         etf  2015-02-05  000993.XSHG   \n",
       "142  510660.XSHG               医药行业         etf  2013-05-08  000037.XSHG   \n",
       "143  159903.XSHE              深成ETF         etf  2010-02-02  399001.XSHE   \n",
       "144  159931.XSHE              金融ETF         etf  2013-09-16  399934.XSHE   \n",
       "145  159955.XSHE               创业板E         etf  2017-08-23  399006.XSHE   \n",
       "146  510220.XSHG              中小ETF         etf  2011-03-28  000046.XSHG   \n",
       "\n",
       "                                   \n",
       "                   名称        成立日期  \n",
       "0               沪深300  2005-04-08  \n",
       "1               500医药  2013-11-06  \n",
       "2                上证商品  2010-04-30  \n",
       "3                创业板指  2010-06-01  \n",
       "4               沪深300  2005-04-08  \n",
       "5                上证中盘  2009-07-03  \n",
       "6               中证500  2007-01-15  \n",
       "7            中证医药卫生指数  2009-07-03  \n",
       "8    中证全指证券公司指数(四级行业)  2013-07-15  \n",
       "9            中证医药卫生指数  2009-07-03  \n",
       "10               中小板综  2005-12-01  \n",
       "11               全指金融  2011-08-02  \n",
       "12               中证军工  2013-12-26  \n",
       "13               50等权  2011-01-04  \n",
       "14               上证龙头  2010-02-09  \n",
       "15               全指可选  2011-08-02  \n",
       "16              沪深300  2005-04-08  \n",
       "17              沪深300  2005-04-08  \n",
       "18              300等权  2011-08-02  \n",
       "19               消费80  2010-05-28  \n",
       "20             中证能源指数  2009-07-03  \n",
       "21              沪深300  2005-04-08  \n",
       "22               上证消费  2009-01-09  \n",
       "23              沪深300  2005-04-08  \n",
       "24               上证50  2004-01-02  \n",
       "25               有色金属  2012-05-09  \n",
       "26               上证国企  2010-01-04  \n",
       "27               红利指数  2005-01-04  \n",
       "28            中证大农业指数  2014-07-22  \n",
       "29       沪深300非银行金融指数  2012-12-21  \n",
       "30              中证500  2007-01-15  \n",
       "31              300医药  2007-07-02  \n",
       "32         中证南方小康产业指数  2010-04-01  \n",
       "33               中证军工  2013-12-26  \n",
       "34               全指消费  2011-08-02  \n",
       "35              沪深300  2005-04-08  \n",
       "36               全指医药  2011-08-02  \n",
       "37               创业板指  2010-06-01  \n",
       "38               中证消费  2009-07-03  \n",
       "39           中证基建工程指数  2015-03-12  \n",
       "40               中证金融  2009-07-03  \n",
       "41             中证银行指数  2013-07-15  \n",
       "42               中证军工  2013-12-26  \n",
       "43          国证新能源汽车指数  2014-09-24  \n",
       "44              中证100  2006-05-29  \n",
       "45               上证50  2004-01-02  \n",
       "46              500深市  2012-09-05  \n",
       "47                非周期  2010-02-03  \n",
       "48              中证500  2007-01-15  \n",
       "49               上证50  2004-01-02  \n",
       "50              500信息  2013-11-06  \n",
       "51              深证100  2006-01-24  \n",
       "52               上证资源  2010-05-28  \n",
       "53               深证民营  2009-08-03  \n",
       "54   中证全指证券公司指数(四级行业)  2013-07-15  \n",
       "55              深证100  2006-01-24  \n",
       "56              上证180  2002-07-01  \n",
       "57               上证央企  2009-03-30  \n",
       "58           中证环境治理指数  2014-07-21  \n",
       "59              500工业  2013-11-06  \n",
       "60              上证380  2010-11-29  \n",
       "61           中证环境治理指数  2014-07-21  \n",
       "62               中证环保  2012-09-25  \n",
       "63              巨潮100  2005-02-03  \n",
       "64              深证300  2009-11-04  \n",
       "65               中证超大  2011-05-10  \n",
       "66            中证100指数  2006-05-29  \n",
       "67               上证50  2004-01-02  \n",
       "68              中证500  2007-01-15  \n",
       "69               细分医药  2012-04-11  \n",
       "70              沪深300  2005-04-08  \n",
       "71               创业板指  2010-06-01  \n",
       "72              300金融  2007-07-02  \n",
       "73              中证500  2007-01-15  \n",
       "74              中创400  2011-08-15  \n",
       "75               中证红利  2008-05-26  \n",
       "76              中证500  2007-01-15  \n",
       "77              沪深300  2005-04-08  \n",
       "78               上证新兴  2010-04-30  \n",
       "79              中证500  2007-01-15  \n",
       "80              深证F60  2010-05-10  \n",
       "81   中证全指证券公司指数(四级行业)  2013-07-15  \n",
       "82              180等权  2011-05-24  \n",
       "83        中证锐联基本面50指数  2009-02-26  \n",
       "84              TMT50  2010-11-08  \n",
       "85               中证医药  2009-07-03  \n",
       "86              沪深300  2005-04-08  \n",
       "87              沪深300  2005-04-08  \n",
       "88              中证500  2007-01-15  \n",
       "89              180治理  2008-09-10  \n",
       "90               深证价值  2009-11-04  \n",
       "91               上证指数  1991-07-15  \n",
       "92               中小板指  2006-01-24  \n",
       "93              中小300  2010-03-22  \n",
       "94               创业板指  2010-06-01  \n",
       "95               创业板指  2010-06-01  \n",
       "96              创业板50  2014-06-18  \n",
       "97              深证300  2009-11-04  \n",
       "98             中证银行指数  2013-07-15  \n",
       "99               创业板指  2010-06-01  \n",
       "100             深证100  2006-01-24  \n",
       "101              深证成长  2009-11-04  \n",
       "102              责任指数  2009-08-05  \n",
       "103             500沪市  2011-11-08  \n",
       "104              创业板指  2010-06-01  \n",
       "105            深证F120  2010-05-10  \n",
       "106              全指材料  2011-08-02  \n",
       "107             中证500  2007-01-15  \n",
       "108             中证500  2007-01-15  \n",
       "109        沪深300等权重指数  2011-08-02  \n",
       "110              国证军工  2009-11-04  \n",
       "111             180金融  2007-12-10  \n",
       "112             180价值  2009-01-09  \n",
       "113             沪深300  2005-04-08  \n",
       "114             中证800  2007-01-15  \n",
       "115        中证国有企业改革指数  2014-08-07  \n",
       "116              深证红利  2006-01-24  \n",
       "117        中证上游资源产业指数  2010-04-16  \n",
       "118     中证下游消费与服务产业指数  2010-04-16  \n",
       "119             沪深300  2005-04-08  \n",
       "120              全指工业  2011-08-02  \n",
       "121             中证500  2007-01-15  \n",
       "122          中证主要消费指数  2009-07-03  \n",
       "123            中证传媒指数  2014-04-15  \n",
       "124             沪深300  2005-04-08  \n",
       "125              中证医药  2009-07-03  \n",
       "126              深证成指  1995-01-23  \n",
       "127              上证周期  2010-02-03  \n",
       "128              中证军工  2013-12-26  \n",
       "129              中证红利  2008-05-26  \n",
       "130              上证金融  2009-01-09  \n",
       "131             500原料  2013-11-06  \n",
       "132             180成长  2009-01-09  \n",
       "133              全指能源  2011-08-02  \n",
       "134             中创100  2011-02-28  \n",
       "135          中证1000指数  2014-10-17  \n",
       "136            深证F200  2010-05-10  \n",
       "137              上证民企  2009-08-25  \n",
       "138             沪深300  2005-04-08  \n",
       "139             中证500  2007-01-15  \n",
       "140             中证500  2007-01-15  \n",
       "141              全指信息  2011-08-02  \n",
       "142              上证医药  2009-01-09  \n",
       "143              深证成指  1995-01-23  \n",
       "144          中证金融地产指数  2009-07-03  \n",
       "145              创业板指  2010-06-01  \n",
       "146              上证中小  2009-07-03  "
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#设置pd显示行列数目\n",
    "pd.set_option('display.max_rows',500)\n",
    "df=show_index_fund()\n",
    "df.sort([(u'基金', u'类型')])\n",
    "df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 2",
   "language": "python",
   "name": "python2"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.10"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 1
}
